home *** CD-ROM | disk | FTP | other *** search
/ Hottest 6 / Hottest 6 (1996)(PDSoft)[!].iso / software / fredfish / 1076.lha / Programs / ZShell / ZShell.guide (.txt) < prev    next >
Amigaguide Document  |  1995-04-10  |  107KB  |  2,142 lines

  1. @DATABASE "$VER: ZShell.doc 2.5 (05.04.95)"
  2. @NODE MAIN "ZShell-Documentation 2.5 (05.04.95)"
  3.             #============================================#
  4.             #    ZSHELL V1.30 (C) 1990,91 PAUL HAYTER    #
  5.             # updated to V2.5 (C) 1993-95 MARTIN GIERICH #
  6.             #============================================#
  7. If you have used another version of ZShell, please read @{" Changes " Link Changes}.
  8. @{" For those who never read the whole Documentation" Link For_those}
  9. @{" Introduction, Features and Concepts " Link Introduction}
  10. @{" Starting ZShell " Link Starting}
  11. @{" General Usage " Link General_Usage}
  12. @{" Command Overview " Link Index}
  13. @{" Builtin Commands for Disk Management " Link BUILTIN1}
  14. @{" Builtin Commands for Scripts and Controlling " Link BUILTIN2}
  15. @{" Builtin Commands for Advanced Users " Link BUILTIN3}
  16. @{" Past, Present and Future " Link Past}
  17. @{" Distribution, Copyright and Disclaimer " Link CopyDis}
  18. @{" Credits " Link Credits}
  19. @{" Authors " Link Authors}
  20. @ENDNODE
  21. @NODE For_those "For those who never read the whole Documentation"
  22. @{" Start "link Starting} the file called ZShell from Workbench or CLI (SHELL), or even
  23. better: Put the file ZShell in the C: directory and start the file ZSH.
  24. Now press the HELP key. Among lots of other information you see "TYPE HELP
  25. ? ...". Make sure that ZShell.doc is in the @{" current directory " link CD} or in S:
  26. and try that. You will see how to use the @{" ONLINE HELP " Link HELP1}. Try to type
  27. "HELP HISTORY" to see how @{" command line editing " link History} works. @{" Execute " link Execute} the
  28. example startup file "ZStart" or @{" put " link Copy} it into the S: drawer and
  29. @{" have a look " link More} at it.
  30. Please send @{" me " Link Authors 9} your comment; @{" my " Link Authors 9} Internet-Adress is:
  31. uj3w@rz.uni-karlsruhe.de (Martin Gierich).
  32. Click & Play buttons:
  33. Normal start      -> @{" ZShell " System "ZShell -d"}
  34. Showing help      -> @{" ZShell -cHELP " System "ZShell -chelp -d"}
  35. Try ZStart-script -> @{" ZShell -sZStart " System "ZShell -sZStart -d"}
  36. Directory lister  -> @{" ZShell -cLIST " System "ZShell -cLIST -d"}
  37. Things somewhere hidden in the documentation:
  38. * To avoid using an internal command or an alias, you can put a point
  39.   before it, eg. ".list libs:".
  40. * To @{" complete " Link Filenamecompletion} a filename, type in a bit then press TAB.
  41. * If you use "ctrl -c *.info", DIR and Filenamecompletion ignore Icons.
  42. * To start buffering output, use "review 20000"; press Shift+TAB to see it.
  43.   With it you can use ">m" to @{" redirect " Link Redirect} to MORE, a bit like piping to MORE.
  44. * If you have OS3.0+, try "ctrl -r 01111111".
  45. * Instead of "RUN <NIL: >NIL: command" use "RUN -C command".
  46. * You get a standard @{" prompt " Link Prompt} with: prompt "%n.%p> "
  47. * @{" Aliases " link Alias} work different to them in normal Shell.
  48. * See @{" FLAGS " link Flags} on how to configure some things you need.
  49.   With that you can switch on Iconifying and use AmigaDOS wildcards.
  50. * Try "flags debug on" to debug your script-files.
  51. * Try to drag Workbench-Icons into the ZShell window
  52. * See @{" Features " link Features} and @{" Tips and Hints " link Tips} for more.
  53. @ENDNODE
  54. @NODE Introduction "Introduction"
  55. ZShell is a small, fast and powerful Shell.
  56. Have a look at @{" Features " Link Features} to see the advantages.
  57. ZShell is tested with Kickstart 1.3 , 2.04 and 3.0 and should
  58. run also with other Kickstarts. There are no special requirements,
  59. but some things can only be used with Kickstart 2.0 or better.
  60. I tried to made usage similar to AmigaDOS. If you did not
  61. understand something, have a look at your AmigaDOS usermanual.
  62.    @{" Concepts " Link Concepts}                        @{" Features " Link Features}
  63. Used Abbreviations:
  64. OS2.0+ means Kickstart and Workbench versions are 2.0 or better
  65. OS1.3- means Kickstart and Workbench versions are 1.3 or older
  66. @ENDNODE
  67. @NODE Concepts "Concepts"
  68. I have heard that there is a Shell called "zsh" on UNICS-systems. ZShell
  69. has nothing to do with it, because it tries to be AmigaDOS compatible,
  70. not just another UNICS shell clone. The compatibility is, of course, not
  71. 100%, if you need that use the original AmigaDOS Shell. So ZShell has some
  72. differences, that give the special feeling of it.
  73. The first main advantage of ZShell is its power/size ratio. In just 32K
  74. there are all often needed commands (like list,copy etc.) and some not
  75. so often needed, which do not increase size much.
  76. The second main advantage is the Filenamecompletion (short: FNC) and the
  77. review buffer. FNC is like those shells on UNICS and can therefore be
  78. controlled fully with the keyboard. No annoying filerequesters pop up,
  79. that make it neccessary to change from keyboard to mouse.
  80. Nevertheless you can use ZShell with (memory hungry and slow) console
  81. handlers like @{" KingCON " link StartingCON}.
  82. Third thing is script file execution. ZShell itself supports only the
  83. basic stuff to execute scripts, because if you need a more complex
  84. construction you can use ARexx or another programming language.
  85. ZShell was never intended to be a substitute for a programming language !
  86. You can use scripts made for AmigaDOS shell without problems, because
  87. the command EXECUTE uses AmigaDOS to execute it.
  88. Fourth, I tried to make using ZShell as easy to use as possible. Not like
  89. UNICS shells which have thousands of options you will never keep in mind.
  90. See @{" Future " link Future} for the future concepts.
  91. @ENDNODE
  92. @NODE Features "Features"
  93. * @{" Freeware " Link Copyright}, no payment required.
  94. * Usage is similar (or better) to the standard AmigaDOS shell.
  95. * About 30K small (pure assembler code, source included).
  96. * Supports the standard housekeeping commands which are builtin,
  97.   so no disk access is necessary.
  98.   eg. list, dir, cd, rename, makedir, delete, copy, path, info, type
  99. * A total of 65 builtin commands.
  100. * @{" Starting " Link Starting} from Workbench or CLI/Shell. No Installation required.
  101. * @{" File name completion " Link Filenamecompletion} by simply pressing TAB.
  102. * @{" Review buffer " Link Review} to see again what scrolled out of the window.
  103. * Some @{" commands " Link BUILTIN3} and features for programmers.
  104. * @{" Online Help " Link Help1} function and AmigaGuide-Documentation with examples.
  105. * @{" Command line editing " Link history} better than OS2.0/3.0 Shell.
  106. * Support of OS2.0+ and OS3.0+ specific features
  107. * @{" Wild cards " Link wild_card} and @{" recursive " link Option} processing.
  108. * Real @{" RUN " Link Run} and @{" NEWCLI " Link Newcli} command that reenters ZShell quickly.
  109. * @{" DIR " Link DIR} and @{" LIST " Link LIST} both sort (by default) and show filesize.
  110. * Application-Window/-Icon
  111. * Can open window on own @{" screen " Link ScreenStart}.
  112. * 100% @{" script " Link Execute} compatibility.
  113. * Can @{" create " Link MakeLink} and @{" show " Link List} Hard- and Softlinks.
  114. * Command and Function key @{" aliasing " Link alias}.
  115. * Can @{" iconify " Link FLAGS 20} itself.
  116. * Colorful output (or fast scrolling with OS3.0+, see @{" CTRL -R " Link CTRL 37})
  117. * Simple @{" MORE " Link MORE} type text viewer.
  118. * Makes itself @{" resident " Link resident} for quicker @{" starting " Link starting} and memory saving.
  119. @ENDNODE
  120. @NODE General_Usage "General Usage"
  121. @{" History and Command Line Editing " Link History}
  122. @{" Executing Commands " Link Executing}
  123. @{" Wild Cards " Link Wild_Card}
  124. @{" Filenamecompletion " Link Filenamecompletion}
  125. @{" Options " Link Option}
  126. @{" Redirecting Input/Output " Link Redirect}
  127. @ENDNODE
  128. @NODE Starting "Starting ZShell"
  129. There are three ways of starting ZShell:
  130.  1. The easiest way:
  131.     Start the file called "ZShell" from Workbench or CLI/Shell.
  132.  2. Put the file called "ZShell" in the C: directory and
  133.     start the file called "ZSH" from Workbench or CLI/Shell.
  134.  3. A bit complicated and only for starting from Workbench:
  135.     Make a startup script (see below) or an empty file with a PROJECT
  136.     icon. Change the default tool to "ZSH" or "ZShell" (better ZSH,
  137.     but then put ZShell in C: ) with the right path. Doubleclicking on
  138.     this project icon will start ZShell and execute this script.
  139.     You can also shift-doubleclick a startup script with ZSH/ZShell.
  140. The first way is recommended for having a quick glance at ZShell,
  141. but if you use ZShell sometimes, the second way is better, because "ZSH"
  142. is about 800 Bytes long and starts the ZShell-resident if possible.
  143. So loading "ZShell" is only necessary the first time you use ZShell
  144. after booting up.
  145. Click here to start -> @{" ZShell " System "ZShell -d"}
  146. @{" Starting from CLI/Shell " Link CLIStart}
  147. @{" Starting from Workbench " Link WBStart}
  148. @{" Opening window on own screen " Link ScreenStart}
  149. @{" Starting using console handlers like KingCON " Link StartingCON}
  150. @{" Starting from Hotkey-/Directory-Utilities " Link UtilStart}
  151. @{" How to use CON: " Link Conuse}
  152. @{" Errormessages during starting " Link ErrorStart}
  153. @{" Several notes " Link Notes}
  154. @ENDNODE
  155. @NODE CliStart "Starting from CLI"
  156. If starting from CLI/Shell you can specify the name of a script file
  157. (see @{" EXECUTE " Link EXECUTE}) as an argument which will be executed after starting.
  158. Precede the name with "-s". If there is no name given, ZShell will try
  159. to execute S:ZStart . After "-w" you can specify a window-description.
  160. See @{" NEWCLI " link NewCLI} for more details, it is exactly the same.
  161. eg.     ZSH -sram:hello     {will try to execute ram:hello}
  162.         ZShell              {will try to execute S:ZStart}
  163.         ZSH -sram:hello "-wCON:10/10/90/90/Hi there" {opens this window}
  164. All CLI-Options:
  165.  -Sname (Script): Start script named "name"
  166.  -Wdesc (Window): Open window with window-description "desc"
  167.  -Ccmd (Command): Start command named "cmd"
  168.  -D     (Detach): Creates its own process (must be last option)
  169.  -N      (Noraw): Switches off the internal command-line-editing
  170.  -Edepth/diplayID/overscan/title (scrEEn): Opens @{" Public Screen " Link ScreenStart}, OS2.0+
  171.  -r (not Resident): Testing-stuff (must be first option and lowercase)
  172. @ENDNODE
  173. @NODE WBStart "Starting from Workbench"
  174. If starting from Workbench you can specify the window-description
  175. and the startup script (default S:ZStart , see above) with ToolTypes:
  176. eg.     WINDOW=con:20/50/400/100/Moin
  177.         SCRIPT=ram:hello
  178.         WINDOW=             {this would not open a window}
  179. Make sure that WINDOW and SCRIPT are in capital letters.
  180. (You can edit the ToolTypes by selecting an icon and then choosing
  181. "Information" from the Workbench-Menu.)
  182. All ToolTypes:
  183.  SCRIPT=name : Start script named "name"
  184.  WINDOW=desc : Open window with window-description "desc"
  185.  COMMAND=cmd : Start command named "cmd"
  186.  NORAW=      : Switches off the internal @{" command-line-editing " Link History}
  187.  ICONNAME=name : Specify name of the icon for @{" iconifying " link Flags 20} (OS2.0+)
  188.  XPOS=number : Give the position of the icon (OS2.0+)
  189.  YPOS=number : Give the position of the icon (OS2.0+)
  190.  ICONIFY=    : Start in iconifyed mode (OS2.0+)
  191.  SCREEN=depth/displayID/overscan/title : Opens a @{" Public Screen " Link ScreenStart} (OS2.0+)
  192. These two are handled by Workbench 2.0+:
  193.  DONOTWAIT   : Use this if you put ZShell in the WBStartup-drawer
  194.                (preferably together with the ICONIFY ToolType)
  195.  TOOLPRI=pri : Sets the @{" priority " Link Taskpri} of the process
  196. @ENDNODE
  197. @NODE ScreenStart "Opening window on own screen"
  198. OS2.0+
  199. You can open a Public Screen using the CLI-Option "-e" or the
  200. Tooltype "SCREEN". Optionally you can pass some arguments:
  201. depth: (default 2) Number of Bitplanes being used
  202. displayID: (default $8000) DisplayID looked up in sys:WBStartup/Mode_Names
  203. overscan: (default 1) Overscan type. 1=text, 2=standard, 3=maximum
  204. title: (default ZShell) Case sensitive name of Public Screen
  205. To get your window open there, you have to add ".../SCREEN ZShell" to your
  206. window-description.
  207. Examples for CLI-Start:
  208. ZShell "-wCON:////Shell/CLOSE/SCREEN ZShell" -e
  209. ZShell "-wCON:1/10/640/390/Shell/CLOSE/SCREEN ZShell" -e1/$8004
  210. ZShell "-wCON:////Shell/CLOSE/SCREEN Super" -e3/$8000/2/Super
  211. Example for Workbench-Start:
  212. SCREEN=3/$8000/1/ZShell-Screen
  213. WINDOW=CON:1/10/640/190/CLOSE/SCREEN ZShell-Screen
  214. @ENDNODE
  215. @NODE UtilStart "Starting from Hotkey-Utilities or Directory-Utilities"
  216. In most cases you have to use a template like @{" starting from CLI " Link CLIStart}
  217. when configuring the utility.
  218. If the utility does not open a window, you have to use the "-w" option.
  219. If the utility seems to hang up after starting ZShell, try the "-d" option.
  220. Example:  zshell -wCON:1/10/640/100/ZShell -d
  221. Some special programs:
  222. YAK: Use "zshell -d" as argument of a hotkey-definition.
  223. MachV: EXECMD"zshell -wcon: -d"
  224. MTool: Define a program with "zshell" as program and "-d" as parameters.
  225. @ENDNODE
  226. @NODE StartingCON "Starting ZShell using KingCON"
  227. KingCON is a Console-Handler with some GUI-Features.
  228. If you do not use KingCON, you can skip this chapter.
  229. Starting from CLI/Shell:
  230.   Use the option -n, and you can optionally use option -w.
  231.   Examples:  ZShell -n
  232.              ZShell -wKCON: -n
  233. Starting from Workbench:
  234.   Use the ToolTypes NORAW and WINDOW=KCON:
  235. The CLI-Option "-n" and the ToolType "NORAW" switch off the internal
  236. command-line-editor, so you could make use of the command-line-
  237. editing facilities of KingCON.
  238. @ENDNODE
  239. @NODE Conuse "How to use CON:"
  240. CON: stands for Console-Handler. This is a program which handles
  241. keypresses and textual outputs on its window similar to a file.
  242. You have to pass several things when opening a CON: window:
  243. CON:leftpos/upperpos/width/height/title
  244. leftpos,upperpos are the position of the left top edge in pixels.
  245.   Both need to be 1 or more.
  246. width,height are the window's dimensions in pixels.
  247. title is a string
  248. With OS2.0+ you can pass some more things and you can drop some things.
  249. So "CON:" alone is valid and opens with the default settings.
  250. To get a close gadget you have to append "/CLOSE", eg.
  251.     CON:1/1/600/100/Great/CLOSE
  252. "/SCREEN screenname" opens on a public screen
  253. "/WAIT" stays till you click the close gadget or press CTRL-\
  254. "/ALT" gives an alternative size with the zoom gadget
  255. ... there are some more but I do not know much of them
  256. @ENDNODE
  257. @NODE ErrorStart "Errors during starting"
  258. If there is an error during starting, a recoverable alert will appear
  259. and show a number. Here is a list what these numbers mean:
  260. Workbench-Start:
  261. 1: No mem for CLI-Struct
  262. 2: CLI-Table 20 limit
  263. 3: No current Dir
  264. 4: No icon.library
  265. 5: No icon
  266. OpenWindow:
  267. 10: Already opened
  268. 11: Cannot open output
  269. 12: Not interactive
  270. 13: Cannot open input
  271. Newcli:
  272. 15: Cannot copy CurrentDir
  273. Input:
  274. 20: Input failed
  275. @ENDNODE
  276. @NODE Notes "Several notes"
  277. * You can start ZShell from within the Startup-Sequence. After ending
  278.   ZShell the Startup-Sequence will continue. If you use "ZShell -d" in
  279.   the Startup-Sequence, it will continue and a ZShell will pop up.
  280. * If you would like a scrollbar, try CB (ConBuffer) from
  281.   Aminet/util/shell/conbuffer11.lha . A bit old, but it works.
  282. * You can rename "ZSH" as what you like, but do not rename "ZShell"
  283. * If you start ZShell from the Workbench-Menu "Execute Command",
  284.   you can close the window after ending ZShell with CTRL-\  or
  285.   doubleclick the close-gadget.
  286. * ZShell and ZSH are PURE (see @{" RESIDENT " Link RESIDENT},@{" PROTECT " Link PROTECT}).
  287. @ENDNODE
  288. @NODE History "History and Command Line Editing"
  289. ZShell has a 1024 byte circular history buffer. It works similar
  290. to most other shells, the NEWCON: handler in Workbench V1.3 and
  291. the standard console handler in OS2.0+.
  292. You can change the edit keys with @{" CTRL " Link CTRL}. These are the default keys:
  293.   UP ARROW        - go back one line in the history buffer
  294.   DOWN ARROW      - go forward one line in the history buffer
  295.   SHIFT UP ARROW  - go to the 1st line in the history buffer if nothing
  296.                     was typed. Otherwise the string left of the cursor
  297.                     will be searched in history buffer (like in OS2.0+)
  298.   SHIFT DOWN ARROW- go to the last line in the history buffer, which
  299.                     holds the last modified line
  300.   LEFT ARROW      - move cursor left
  301.   RIGHT ARROW     - move cursor right
  302.   SHIFT LEFT ARROW- move cursor to left end
  303.   SHIFT RIGHT ARROW move cursor to right end
  304.   CTRL R          - move cursor to start of previous word
  305.   CTRL T          - move cursor to start of next word
  306.   CTRL S          - delete to start of line
  307.   CTRL E          - delete to end of line
  308.   CTRL W          - delete one word right of cursor
  309.   CTRL Q          - delete one word left of cursor
  310.   CTRL X          - delete whole line
  311.   TAB             - see @{" FILENAMECOMPLETION " Link FILENAMECOMPLETION} (that is great !)
  312.   SHIFT TAB       - read @{" review-buffer " Link review} with @{" MORE " Link MORE}
  313.   CTRL V          - read history-buffer with @{" MORE " Link MORE}
  314.   CTRL F          - pop up a filerequester (needs asl.library)
  315.   CTRL L          - clear the ZShell window
  316.   RETURN          - put commandline in history-buffer and execute it
  317.   SHIFT RETURN    - put commandline in history-buffer without executing
  318.   ESC (Escape)    - quit ZShell like @{" ENDCLI " Link ENDCLI} (I like this very much !)
  319. Words are delimited by space, point, slash and colon ( ./:).
  320. Again, command line editing is similar to most shells. Backspace,
  321. delete and return do what they are supposed to do.
  322. If you have defined (using @{" ALIAS " Link Alias}) some Function keys,
  323. you can use them, too.
  324. OS2.0+:
  325. You can drop Workbench-Icons into the ZShell's window. Then the name of
  326. the icon will be inserted into the commandline.
  327. When in @{" iconifyed " Link Flags 20} mode, you can drop an icon on that
  328. Application-Icon with the same effect.
  329. @ENDNODE
  330. @NODE Executing "Executing Commands"
  331. Most commands can be aborted by depressing Control-C.
  332. Nearly everything is case independent.
  333. To use a disk command simply type its name after the prompt, the
  334. same way as you would do in other shells. The first part of the input
  335. up to the first space is interpreted as commandname. It is searched
  336. for (in this order) :
  337.  1. in the @{" alias " Link alias} list
  338.  2. in the internal (builtin) command list (see @{" COMMAND OVERVIEW " Link Index})
  339.  3. in the @{" resident " Link resident} command list
  340.  4. in the current directory (see @{" CD " Link CD})
  341.  5. in the command search @{" path " Link path}
  342. and, if it is found, it is executed. The part after the first space
  343. is taken as arguments, also called parameters. The arguments are
  344. separated by spaces. ZShell will allow up to 25 arguments.
  345. If the commandname was found on disk, it will be analyzed:
  346.  1. If the commandname is a directory, the current directory will be
  347.     changed (see @{" CD " Link CD}) to it.
  348.  2. If the script flag is set, it will be @{" executed " Link Execute} eighter
  349.     as ZShell script or as ARexx script.
  350.  3. If the execute flag is set (and it is set in most cases), it will
  351.     be treated as normal executable command. 
  352.  4. If the execute flag is set, but the command is not executable, it
  353.     will be shown using @{" amigaguide.library " Link Guide.lib}.
  354. eg.     addbuffers df0: 15
  355. "addbuffers" is the command, that will be found as a internal command.
  356. "df0:" is the first argument. "15" is the second argument. The third
  357. argument does not exist.
  358. You can avoid using an @{" alias " Link alias} or an internal (builtin) command or
  359. changing the current directory by typing a point before the
  360. commandname (this is called "force disk").
  361. To abbreviate internal or @{" resident " Link resident} commands put a point behind it.
  362. If you use just a point, the current directory will be set to the
  363. last current directory ("dir back").
  364. To get to the parent directory, you have to use a slash ( / ).
  365. eg.     .addbuffers df0: 20
  366. {This uses the disk command or if available the resident addbuffers}
  367.         ad. df0: 20   {uses the internal addbuffers command}
  368.         .add. df0: 20 {if available this uses the resident addbuffers}
  369.         .             {go back to old current dir}
  370. BEWARE of other matching commands! The first matching will be taken!
  371. di. can mean DIE or DIR, but DIE will be taken !
  372. There is no abbreviation for disk commands, use @{" FileNameCompletion " Link FileNameCompletion}
  373. ( TAB-Key ) instead.
  374. A textual error message will be displayed if an AmigaDOS error occurs.
  375. @ENDNODE
  376. @NODE Guide.lib "amigaguide.library"
  377. For those who do not know:
  378.  amigaguide.library is Commodore's great hypertext system that can
  379.  easily be used to view documentations or to implement online-help into
  380.  own applications.
  381.  It needs Kickstart 1.3 or better.
  382.  You can get it from Fish Disk 920 or from Aminet as text/hyper/aguide34.lha
  383. amigaguide.library V34+ can show AmigaGuide documents and ASCII documents.
  384. V39+ that comes with OS3.0+, can show all kinds of files that are supported
  385. by your datatypes including AmigaGuide and ASCII texts.
  386. So, with OS3.0+, you can enter the name of a picture in ZShell just like
  387. a command to view it.
  388. @ENDNODE
  389. @NODE Wild_Card "Wild Cards"
  390. ZShell supports wild card file descriptions on some commands
  391. (@{" DIR " Link DIR},@{" LIST " Link LIST},@{" DELETE " Link DELETE},@{" COPY " Link COPY},@{" CTRL " Link CTRL},@{" JOIN " Link JOIN},@{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT})
  392. Wild cards are like those supported on MessyDOS or UNICS systems, and not
  393. the same as the ones on AmigaDOS. So use * instead of #? .
  394. NOTE: You can only effectively put one * character in a wild card.
  395. If you would like to use AmigaDOS wildcard-patternmatching use
  396. @{" FLAGS WILD ON " link Flags 30} (this uses MatchPatternNoCase(), so OS2.0+ only).
  397. Character       Meaning
  398.   *         Match zero or more characters.
  399.   ?         Match one character.
  400.   ~         Negates the following wildcard.
  401.  [  ]       Specifies a class of characters to match.
  402.             (One of the characters in the brackets must match)
  403.   |         Separate multiple filenames (can be wildcards)
  404.             (One of the file descriptions separated by | must match)
  405. To get that just try the examples following and try it out with @{" DIR " Link DIR}.
  406. eg.    list *.info      {lists all files ending in .info}
  407.        dir z*.s         {lists all files starting z, ending in .s}
  408.        delete df0:*.info   {deletes all .info files from df0:}
  409.        copy *.s ram:    {copies all .s files to ram:}
  410.        copy 1? df0:     {copies all two char files beginning with 1}
  411.        dir ~*.s         {lists all files NOT ending in .s}
  412.        list ~*.info     {lists all files except for .info files}
  413.        dir *.[co]       {lists files ending in .c or .o}
  414.        list [abcd]*     {lists files beginning with a,b,c or d}
  415.        list c:mount|version {lists the files Mount and Version}
  416.        list ram:env/a*|*b   {lists all files starting with a or
  417.                              ending with b from RAM:env (environment)}
  418.        copy ~*.info|*.bak   {copies all files NOT ending in .info
  419.                              and NOT ending in .bak}
  420. @ENDNODE
  421. @NODE Filenamecompletion "Filenamecompletion"
  422. Filenamecompletion makes typing long filenames and directorynames
  423. easier. It does not matter if you want to type it as command or as
  424. argument. Just type some beginning characters of the desired name and
  425. then press TAB . If there is more than one possibility that
  426. match, it will only be completed as far as all possibilities match.
  427. In this case type the next character then again press TAB . If a
  428. filename was fully matched, a space after it will be inserted. If
  429. a directoryname was fully matched, a slash (/) will be inserted after.
  430. If no partial match is found, the screen blinks (display beep).
  431. Maybe you do not want *.info files to be completed. This will avoid
  432. some trouble. Use "ctrl -c *.info" for that or see @{" CTRL -C " Link CTRL 27}.
  433. If you do not want to see all files that match,you can use
  434. @{" FLAGS MATCH OFF " Link Flags}.
  435. For example a directory contains:
  436.   MegaEditExample
  437.   MegaEditExample.info
  438.   MegaViewer
  439.   MoreMegaFiles               {directory}
  440. If you want to change the current directory to MoreMegaFiles you type:
  441.     mo
  442. then press the TAB key. You will see the full name with a slash at the
  443. end. Just press RETURN and you changed it.
  444. To delete MegaViewer you type:
  445.     delete me
  446. and press TAB . You will see "Mega". Now type the V key and
  447. press TAB again. You see "delete MegaViewer ". Press RETURN and
  448. it will be gone.
  449. You want to start MegaEditExample. Type:
  450.     me
  451. and press TAB. Then type E and press TAB. There is no space after the
  452. name. This is because MegaEditExample.info also matches.
  453. Start it by pressing RETURN.
  454. @ENDNODE
  455. @NODE Option "Options"
  456. As nearly everything, options are also case independent.
  457. The internal commands support only four options, because this is easier
  458. to remember. These options start with a dash (-) .
  459.   1. -C or -CLEAR , used by @{" AVAIL " Link AVAIL},@{" ENDCLI " Link ENDCLI},@{" LOCATE " Link LOCATE},@{" PATH " Link PATH},
  460.               @{" RESIDENT " Link RESIDENT},@{" RUN " Link RUN},@{" CTRL " Link CTRL}
  461.   2. -R or -RECURSIVE , used by @{" COPY " Link COPY},@{" DELETE " Link DELETE},@{" DIR " Link DIR},@{" LIST " Link LIST},@{" JOIN " Link JOIN},
  462.               @{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT}
  463.   3. -Q or -QUICK , used by @{" DIR " Link DIR},@{" JOIN " Link JOIN},@{" LIST " Link LIST},@{" DELETE " Link DELETE}
  464.   4. -S or -SORT , used by @{" COPY " Link COPY},@{" MOVE " Link MOVE},@{" PROTECT " Link PROTECT}
  465. So instead of typing "dir -q" you can also type "dir -quick".
  466. Instead of -R you could also use ALL , if @{" FLAGS ALL ON " Link Flags 49} is set.
  467. For some special cases there are longer options used: "delete bla force"
  468. FORCE is here an option. You can abbreviate this by a point (see @{" CTRL " link CTRL}),
  469. so "delete bla f." is the same.
  470. @ENDNODE
  471. @NODE Redirect "Redirecting Input/Output"
  472. The standard redirection operators are supported for all internal
  473. commands, as well as disk based programs. (Redirection only affects
  474. those programs which use the dos.library's Input() and Output()
  475. functions.)
  476.     >  redirect std output.
  477.     <  redirect std input.
  478.     >> append redirect output. (tacks output onto the end of file)
  479.     <> redirect input and output.
  480.     >M view output with @{" MORE " link MORE} after the command has ended,
  481.        you need a @{" review-buffer " link REVIEW} for that which is big enough,
  482.        otherwise some of the output will be swallowed.
  483. eg.    dir >ram:directory df0:c
  484.        type zshell.doc <raw:0/0/100/100/input >raw:0/0/640/100/output
  485.        sortfile things >>df0:things.log
  486.        list >m df0:             {view output with more}
  487.        copy > df0: ram:         {redirects to NIL: !}
  488. @ENDNODE
  489. @NODE Index "Command Overview"
  490. @{" AddBuffers " Link AddBuffers} drive [number_of_buffers]
  491. @{" Alias " Link Alias} [variable] [definition]
  492. @{" Ask " Link Ask} [question]
  493. @{" Assign " Link Assign} [logical name:] [directory] [ADD|DEFER|PATH|REMOVE]
  494. @{" Avail " Link Avail} [-C]
  495. @{" Border " Link Border} ON|OFF [number]
  496. @{" Break " Link Break} task_description [signalmask|C|D|E|F]
  497. @{" Cd " Link Cd} [destination]
  498. @{" Copy " Link Copy} [-R] [-S] source1 [source2] ... [destination]
  499. @{" Cls " Link Cls}
  500. @{" Comments " Link Comments}
  501. @{" Ctrl " Link Ctrl} [max_16_chars | -C [ignore_name] | -R 8_colour_digits]
  502. @{" Date " Link Date} [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  503. @{" Delete " Link Delete} [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  504. @{" Delete Device " Link Delete2} devicename [name [filesystem]]
  505. @{" Die " Link Die} device
  506. @{" Dir " Link Dir} [-R] [-Q] [source1] [source2] ...
  507. @{" DiskChange " Link DiskChange} device
  508. @{" Echo " Link Echo} [string]
  509. @{" Else " Link Else}
  510. @{" EndCLI " Link EndCLI} [-C]
  511. @{" EndIf " Link EndIf}
  512. @{" Eval " Link Eval} expression
  513. @{" Execute " Link Execute} source
  514. @{" FailAt " Link FailAt} [failat_level]
  515. @{" Fault " Link Fault} [error_number]
  516. @{" FileNote " Link FileNote} file|directory comment
  517. @{" Flags " Link Flags} [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL] [ON|OFF]
  518. @{" GetMsg " Link GetMsg} [portname]
  519. @{" Help " Link Help1} [topic]
  520. @{" HType " Link HType} source
  521. @{" If " Link If} [NOT][WARN][ERROR][FAIL][EXISTS file]
  522. @{" Info " Link Info}
  523. @{" Join " Link Join} [-R] [-S] source1 [source2] ... destination
  524. @{" Lab " Link Lab} label
  525. @{" List " Link List} [-R] [-Q] [source]
  526. @{" Locate " Link Locate} [-C] lock|filename
  527. @{" Lock " Link Lock} device ON|OFF
  528. @{" M " Link M} [start_address] [end_address]
  529. @{" MakeDir " Link MakeDir} directory1 [directory2] ...
  530. @{" MakeIcon " Link MakeIcon} filename [icontype]
  531. @{" MakeLink " Link MakeLink} linkname filename HARD|SOFT
  532. @{" MemClk " Link MemClk} ON|OFF|ALARM
  533. @{" More " Link More} source [line count]
  534. @{" Move " Link Move} [-R] [-S] source1 [source2] ... [destination]
  535. @{" NewCLI " Link NewCLI} [-Wnew_window] [-Sstart_script] [-Ccommand]
  536. @{" Path " Link Path} [-C] [path1] [path2] [path3] ...
  537. @{" Prompt " Link Prompt} [string]
  538. @{" Protect " Link Protect} [-R] [-S] [file/dir1] [file/dir2] ... [+|-|h|s|p|a|r|w|e|d]
  539. @{" PutMsg " Link PutMsg} port_description [number1|string1] [number2|string2] ...
  540. @{" Quit " Link Quit} [error_code]
  541. @{" Relabel " Link Relabel} drive newname
  542. @{" Rename " Link Rename} source destination
  543. @{" Resident " Link Resident} [command1] [command2] ...
  544. @{" Review " Link Review} [bytesize|S|C]
  545. @{" Run " Link Run} [-C] commandline
  546. @{" Search " Link Search} file search_string
  547. @{" SetClock " Link SetClock} LOAD|SAVE
  548. @{" SetDate " Link SetDate} file|directory [date/time]
  549. @{" Show " Link Show} D|I|L|M|P|R|S|T|V
  550. @{" Skip " Link Skip} label
  551. @{" Stack " Link Stack} [size]
  552. @{" Strings " Link Strings} sourcefile [count]
  553. @{" UnAlias " Link UnAlias} [alias1] [alias2] [alias3] ...
  554. @{" Wait " Link Wait} timeout
  555. @{" TaskPri " Link TaskPri} priority [task_description]
  556. @{" Type " Link Type} source
  557. @ENDNODE
  558. @NODE BUILTIN1 "Builtin Commands for Disk Management"
  559. Following there are descriptions of the standard DOS commands which are
  560. builtin in ZShell (and therefore need not be loaded from disk).
  561. Square brackets [] mean that the argument enclosed in is optional.
  562. A vertical bar | separates multiple possibilities, choose only one.
  563. @{" AddBuffers " Link AddBuffers} drive [number_of_buffers]
  564. @{" Assign " Link Assign} [logical name:] [directory] [ADD|DEFER|PATH|REMOVE]
  565. @{" Cd " Link Cd} [destination]
  566. @{" Copy " Link Copy} [-R] [-S] source1 [source2] ... [destination]
  567. @{" Delete " Link Delete} [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  568. @{" Delete Device " Link Delete2} devicename [name [filesystem]]
  569. @{" Dir " Link Dir} [-R] [-Q] [source1] [source2] ...
  570. @{" FileNote " Link FileNote} file|directory comment
  571. @{" HType " Link HType} source
  572. @{" Info " Link Info}
  573. @{" Join " Link Join} [-R] [-S] source1 [source2] ... destination
  574. @{" List " Link List} [-R] [-Q] [source]
  575. @{" Lock " Link Lock} device ON|OFF
  576. @{" MakeDir " Link MakeDir} directory1 [directory2] ...
  577. @{" MakeIcon " Link MakeIcon} filename [icontype]
  578. @{" MakeLink " Link MakeLink} linkname filename HARD|SOFT
  579. @{" More " Link More} source [line count]
  580. @{" Move " Link Move} [-R] [-S] source1 [source2] ... [destination]
  581. @{" Protect " Link Protect} [-R] [-S] [file/dir1] [file/dir2] ... [+|-|h|s|p|a|r|w|e|d]
  582. @{" Relabel " Link Relabel} drive newname
  583. @{" Rename " Link Rename} source destination
  584. @{" Resident " Link Resident} [command1] [command2] ...
  585. @{" Search " Link Search} file search_string
  586. @{" SetDate " Link SetDate} file|directory [date/time]
  587. @{" Type " Link Type} source
  588. @ENDNODE
  589. @NODE AddBuffers "AddBuffers"
  590. ADDBUFFERS drive number_of_buffers
  591. * ADDBUFFERS increases disk access speed on the specified drive by
  592.   adding a number of sector cache buffers. Each additional buffer
  593.   reduces memory by about 560 bytes. Generally, 25-30 buffers per
  594.   floppy drive is optimal.
  595. eg.     addbuffers df0: 25
  596.         addbuffers df1: 30
  597. @ENDNODE
  598. @NODE Assign "Assign"
  599. ASSIGN [logical name:] [directory] [ADD|REMOVE|DEFER|PATH]
  600. * ASSIGN will assign a logical device name to a disk directory.
  601. eg.     assign z: df1:zshell_source
  602.   Now if you do a DIR Z: you will get a directory of df1:zshell_source.
  603.   Similarly, the default device names can be reassigned.
  604. eg.     assign libs: df1:libs
  605. * Typing ASSIGN with no parameters, will list the current device
  606.   assignments.
  607. eg.     assign
  608. * Only for OS2.0+:
  609.  "ASSIGN name: REMOVE" or "ASSIGN name: dir REMOVE" removes that assign
  610.  "ASSIGN name: dir ADD" assigns multiple dirs to name:
  611.  "ASSIGN name: pathname DEFER" will become a normal assign when accessed
  612.   the first time. So you can assign to a path that does not exist yet.
  613.  "ASSIGN name: pathname PATH" assigns to a path. Similar to DEFER, but
  614.   will not converted into a normal assign. If you have "assign bla: df0:
  615.   path" and do "list bla:", you will get the directory of the disk
  616.   inserted NOW (!) in df0:.
  617. @ENDNODE
  618. @NODE Cd "Cd"
  619. CD [destination]
  620. * Changes the current directory to "destination". If no parameter
  621.   is given, the current directory's name is shown. It is easier to
  622.   change the directory by simply typing its name (without CD).
  623. eg.     cd ram:
  624.         ram:t               {same as "cd ram:t"}
  625. @ENDNODE
  626. @NODE Copy "Copy"
  627. COPY [-R] [-S] source1 [source2] ... [destination]
  628. * COPY copies all source files or files in the source directories to the
  629.   destination directory. If the destination directory does not exist, it
  630.   will be created. If no destination is given (in this case you can specify
  631.   only one source file/dir ofcourse), the current directory will be taken.
  632. * You can use @{" wild cards " link Wild_card} to specify files.
  633. * The filedate, filecomment and protection-bits are copied with it.
  634. * With @{" Option -R " link Option} given, subdirectories and the files and
  635.   directories in there are also copied (recursive copying).
  636.   If you have the @{" ALL FLAG " link Flags} set, you can use ALL as last
  637.   argument instead of -R.
  638. * With @{" Option -S " link Option} given, it sorts. But who needs that ?
  639. Note: Copying will be done in 50KBytes blocks. This should be a good value.
  640. eg.     copy c:dir df1:c
  641.         copy dir list type cd df1:c
  642.         copy -r df0:devs df1:devs
  643.         copy -r source:*.s ram:
  644.         copy df0: df1:          {only copy the files in df0: to df1:}
  645. * You can also copy a file to a file. This is like copying to a dir and
  646.   then renaming. Date, comment and bits are not copyied with it.
  647. eg      copy df0:fred ram:wilma
  648.   With that you can print a file etc.
  649. eg.     copy file PRT:
  650.         copy CON: barney
  651. @ENDNODE
  652. @NODE Delete "Delete"
  653. DELETE [-R] [-Q] source1 [source2] [source3] ... [FORCE]
  654. * Deletes one or more files or directories ("source1","source2",...).
  655. * "source" can be a @{" wild card " link Wild_card} file description.
  656. * If you specify the -r @{" option " Link option} when deleting a directory,
  657.   then all subdirectories are recursively deleted also. Otherwise (if the -r
  658.   option is not given) only the files in the specified directory are deleted.
  659. * To be safe, delete requests you to really delete a file. You can answer
  660.   with "Y" (yes) if you want this file to be deleted
  661.        "N" (no) if you do not want this file to be deleted
  662.        "A" (all) if you do not want to be asked anymore
  663.        "Q" (quit) if you want to abort deleting.
  664.   To avoid asking, use option -q , but be careful !
  665. * Ever got the problem with thousands of delete-protected files ?
  666.   Solution is simple: Use FORCE as last option.
  667. NOTE: "delete libs" (libs is a directory) tries to delete the directory
  668.   "libs", not the files in there ! Use "delete libs/*" for that !
  669. WARNING: You can hardly get back what you have deleted !
  670.   So be careful, especially when using the -r option !
  671.   (Try DISKSALV for getting lost files back, DO NOT USE DISCDOCTOR!)
  672. eg.     delete fred wilma barney betty dino
  673.         delete df0:devs df1:c df1:data ram:
  674.         delete menu/* force
  675.         delete -r devs:
  676.         delete -r df1:  {better use "delete device df1:"}
  677. @ENDNODE
  678. @NODE Delete2 "Delete Device"
  679. DELETE DEVICE devicename [name [filesystem]]
  680. OS2.0+ only !
  681. * Has the same effect as "FORMAT DRIVE device NAME name QUICK NOICONS".
  682.   devicename is something like DF0: etc., but better not DH0: !
  683.   The name and the filesystem of the disk will be kept the same, except
  684.   you specify new ones. See @{" INFO " link Info} on how filesystems look like.
  685. eg.: You have an Oldfilesystem- (OFS) disk and want to get a Fastfilesystem-
  686.     (FFS) disk out of it. No need to format the whole disk ! Use
  687.         delete device df0: empty ffs
  688. @ENDNODE
  689. @NODE Dir "Dir"
  690. DIR [-Q] [-R] [source1] [source2] ...
  691. * Lists the directory of the "source" to the screen. Hitting space
  692.   will pause the listing and backspace will continue it. Files are
  693.   shown with their size in bytes. DIR lists the current directory
  694.   if no parameter is given. If "source" is a filename, then only
  695.   that file is listed. If the @{" option " Link option} "-q" is not given, the filenames
  696.   will be sorted alphabetically. With the @{" option " Link option} "-R" given
  697.   it will @{" list " Link List} recursive.
  698. * All files/dirs with the H-bit (see @{" PROTECT " Link PROTECT}) set, will not be shown.
  699.   All files that are ignored by @{" FILENAMECOMPLETION " Link FILENAMECOMPLETION} are also hidden.
  700. * If it is a link, it shows H (for hardlinks) or S (for softlinks) after
  701.   the filesize. See @{" MAKELINK " link MakeLink}.
  702. eg.     dir df0:
  703.         dir -q devs:printers/hp*
  704. @ENDNODE
  705. @NODE FileNote "FileNote"
  706. FILENOTE file|directory comment
  707. * FILENOTE creates or changes a comment of the file or directory.
  708.   This comment can be up to 116 characters long and can be displayed
  709.   using the @{" LIST " Link LIST} command. It is useful if the filename does not say
  710.   what for this file is. Add a comment to this file and you will
  711.   forever know what this file does.
  712. eg.     filenote devs:mountlist "This is used by the mount command"
  713. @ENDNODE
  714. @NODE HType "HType"
  715. HTYPE source
  716. * HTYPE outputs a hex listing of the file specified. Output is the
  717.   same as the M command. SPACE pauses the listing, BACKSPACE
  718.   gets it going again, and CTRL-C will abort the listing.
  719. eg.     htype c:list
  720. @ENDNODE
  721. @NODE Info "Info"
  722. * Lists lots of information about all available volumes (like disks).
  723.   These columns mean:
  724.   NAME: Name of the device containing the volume
  725.   UNIT: Unitnumber, not very interesting
  726.   SYS:  Filesystem, can be one of:
  727.         OFS : Oldfilesystem (old fashioned and slow)
  728.         FFS : Fastfilesystem (needs OS2.0+)
  729.         INO/INF : International OFS/FFS
  730.         DCO/DCF : Directory Cache OFS/FFS (needs OS3.0+)
  731.         MSD : CrossDOS Filesystem (MessyDOS)
  732.         ??? : Unknown
  733.   SIZE: Maximum useable size of the Volume in KBytes (1024 Bytes)
  734.   FREE: Free/useable size in KBytes
  735.   FULL: Ratio between used size and maximum size
  736.   BLOCK: Size of a single block in Bytes
  737.   STATUS: Says if it is possible to write to that volume
  738.   ERR:  Number of soft errors, I only saw 0 yet
  739.   VOLUME: Name of the volume (name of the disk).
  740. * Note: It would not make sense to show the free size in Bytes,
  741.   because space can only be allocated in whole blocks and one
  742.   block is at least 488 Bytes large.
  743. eg.     info
  744. @ENDNODE
  745. @NODE Join "Join"
  746. JOIN [-R] [-S] [sourcefile1] [sourcefile2] ... destfile
  747. * JOIN concatenates one or more files to form a new file (destfile).
  748. * @{" wild cards " link Wild_card} are supported.
  749. * See  @{" COPY " link Copy} for more.
  750. eg.     join fred.doc roy.doc dog.doc mydocs.doc
  751. @ENDNODE
  752. @NODE List "List"
  753. LIST [-R] [-Q] [source]
  754. * Lists the directory of the "source" to the screen. Hitting space
  755.   will pause the listing and backspace will continue it.
  756. * LIST acts similar to @{" DIR " Link DIR}, but outputs more information:
  757.   - Hidden files will be shown
  758.   - Shows the date and time of the last change. See @{" DATE " link Date}.
  759.   - Shows the protection-bits. See @{" PROTECT " Link PROTECT}.
  760.   - If available, the comment will be shown. See @{" FILENOTE " Link FILENOTE}.
  761.   - If it is a link, it shows where it is linked to. See @{" MAKELINK " link MakeLink}.
  762.     (Note:softlinks are resolved by ReadLink(), hardlinks by simply Lock())
  763. * LIST supports recursive listing. That means the contents of all
  764.   subdirectories are shown. To use it, specify the @{" -r option " Link option}.
  765. * With the @{" -q option " Link option} given, it does not sort nor print
  766.   comments and links.
  767. eg.     list
  768.         list sys:system
  769.         list -q df0:
  770.         list -r -q *.info    {show all INFO-files in the current and
  771.                               in the sub-directories}
  772.         list -r ram:~*.info  {show all except *.info files in RAM:}
  773. @ENDNODE
  774. @NODE Lock "Lock"
  775. LOCK device ON|OFF
  776. * "LOCK device ON" locks the write-access to a device
  777. eg.     lock df0: on
  778.   will make it impossible to write to or change something on the
  779.   disk inserted in DF0:
  780. * "LOCK device OFF" makes write-access to a device possible again.
  781. eg.     lock dh0: on
  782.         lock dh0: off
  783. @ENDNODE
  784. @NODE MakeDir "MakeDir"
  785. MAKEDIR [directory1] [directory2] ...
  786. * Creates one or more directories of the names specified.
  787. eg.     makedir temp
  788.         makedir c l s libs devs fonts
  789.         makedir devs/printers ram:c
  790. @ENDNODE
  791. @NODE MakeIcon "MakeIcon"
  792. MAKEICON filename [icontype]
  793. OS2.0+ only !
  794. * Makeicon creates a default icon for the file "filename". "icontype" can
  795.   be one of: DISK, DRAWER, TOOL, PROJECT, GARBAGE, DEVICE, KICK or APPICON
  796.   "filename" is without appending .info.
  797.   Note that DEVICE and APPICON will not be available on most systems.
  798. * OS3.0+ only: Makeicon without icontype pops up the information-window
  799.   of Workbench.
  800. eg.     makeicon barney tool
  801.         makeicon sys:libs drawer  {"makeicon libs: drawer" will not work}
  802.         makeicon sys:system/format
  803. @ENDNODE
  804. @NODE MakeLink "MakeLink"
  805. MAKELINK linkname filename HARD|SOFT
  806. OS2.0+ only !
  807. * Makelink creates a Hardlink or Softlink to the file or directory
  808.   "filename". "linkname" must be a filename, that does not exist yet.
  809.   You can use links like the file/directory itself, but they need nearly
  810.   no additional diskspace. In most cases you would use Hardlinks.
  811. * If you delete a file a Hardlink is linked to, the Hardlink will become
  812.   the file itself. Hardlinks cannnot work accross devices, use Softlinks
  813.   for that. (Hardlinks are resolved by the filesystem)
  814. * Softlinks are links to a path, that is checked every time when accessed,
  815.   so a link to DF0: depends on the disk inserted in DF0: .
  816.   (Softlinks are resolved by AmigaDOS)
  817.   I wonder why Softlinks are not supported by the commands in the C:
  818.   directory even of Workbench 3.0 ? A bit old fashioned !
  819. eg.     makelink muchmore ppmore hard
  820.         makelink sys:commands c: hard
  821.         makelink readme df0:readme soft  {so with "more readme" you will
  822.     see the readme-file on the disk currently inserted into DF0: }
  823. @ENDNODE
  824. @NODE More "More"
  825. MORE source [line count]
  826. * MORE acts as a simple (ANSI) text file viewer. By default, it will
  827.   show some lines of a text file, then wait for some user input.
  828.  *After pressing "H" you get some Help information.
  829.  *To move around in the text, you can use the CURSOR-KEYS:
  830.     UP        : Go one line up
  831.     DOWN      : Go one line down
  832.     LEFT      : Go one page up
  833.     RIGHT     : Go one page down
  834.     SHIFT-UP  : Go to the top of the text
  835.     SHIFT-DOWN: Go to the bottom of the text
  836.  *SPACE does the same as SHIFT-DOWN, BACKSPACE the same as SHIFT-UP.
  837.   You can also use the keys 1,2,3,7,8 and 9 of your numeric keypad.
  838.  *The key "S" will prompt you what to Search for. If you just press
  839.   RETURN, then the last item will be searched for. Searching begins
  840.   at the second top line shown. If the item is found, the line, it
  841.   is in, is displayed as the first line.
  842.  *The key "W" Writes the text to a file. If you enter PRT: as filename,
  843.   the text is send to the printer. Press just RETURN to cancel.
  844.  *Press "J" to Jump to a special position.
  845.  *Press "R" after you have Resized the window.
  846.  *Typing any other key will abort you back to the shell.
  847. eg.     more readme
  848. * Specifying the optional line count will allow you to show more or
  849.   less than the default number of lines, that will fit exactly on the
  850.   window. Useful when using @{" FLAGS CUT OFF " Link Flags}.
  851. eg.     more contents 12
  852.         more super.doc 25
  853. @ENDNODE
  854. @NODE Move "Move"
  855. MOVE [-R] [-S] source1 [source2] ... [destination]
  856. * This is very similar to the @{" copy-command " link copy}, but all files/directories
  857.   copyied will be deleted afterwards. If an error happens, the source will
  858.   not be deleted. If it was OK, you will see "... copyied"
  859. * If source and destination are on the same device it uses @{" rename " link rename}
  860.   instead. This is quicker and needs less disk accesses. Then you will
  861.   see "...moved".
  862. * Note the difference between "move dir" and "move dir/*".
  863. eg.     move ram:a ram:b
  864.         move -r df0:* df1:
  865.         move c:mount devs:
  866. @ENDNODE
  867. @NODE Protect "Protect"
  868. PROTECT [-R] [-S] filename1 [filename2] ... [+|-|h|s|p|a|r|w|e|d]
  869. * Allows you to alter/see the protection bits associated with a file
  870.   or a directory. To see it, you can also use @{" LIST " link List}.
  871.   You can use @{" wild cards " link Wild_card} to process multiple files.
  872. * See @{" COPY " link Copy}  how to use -r and -s.
  873. * PROTECT filename +bits_to_set -bits_to_clear
  874.   Sets all bits_to_set and resets all bits_to_clear.
  875.   You can give one + or one - or both or both not.
  876. eg.     protect game +hp -rwd
  877.         protect monitor +hsparwed
  878.         protect -r df0:* -d
  879. Bits:   "h"     hidden  V1.3
  880.         "s"     script  V1.3
  881.         "p"     pure    V1.3
  882.         "a"     archive V1.3 -> is reset when file is changed
  883.         "r"     readable
  884.         "w"     writable
  885.         "e"     executable -> will be checked before executing
  886.         "d"     deletable
  887. @ENDNODE
  888. @NODE Relabel "Relabel"
  889. RELABEL drive newname
  890. * RELABEL renames the disk specified with the newname given.
  891. eg.     relabel Empty: MY_DISK
  892.         relabel df0: FISHMONGER
  893. @ENDNODE
  894. @NODE Rename "Rename"
  895. RENAME source destination
  896. * Renames the file or directory of name "source" to that of
  897.   "destination". You can use this to move files on a disk.
  898. eg.     rename df0:c/list df0:ls        {moves and renames}
  899.         rename ed Editor                {just renames}
  900. @ENDNODE
  901. @NODE Resident "Resident"
  902. RESIDENT [command1] [command2] ...
  903. * RESIDENT allows you load commands into memory, such that they
  904.   will execute immediately, rather than be loaded from disk all the
  905.   time. The benefit of RESIDENT over saving commands on the RAM:
  906.   disk is that only one copy of the command is in memory all the
  907.   time. RAM: based commands will use up twice as much memory when
  908.   the command is being executed.
  909. * The limitation of RESIDENT is that only certain commands will
  910.   work. Generally, all commands which have their PURE bit (see
  911.   @{" PROTECT " Link PROTECT}) set can be made RESIDENTABLE. However, RESIDENT
  912.   does not check whether the PURE bit is set before loading, and
  913.   hence you can try out commands to see if they work. They'll
  914.   always work the first time. Its only when executing the 2nd
  915.   time that the Amiga will likely crash.
  916.   Note: Crunched programs will most likely not work.
  917. * Typing RESIDENT with no parameters will show the current list
  918.   of resident commands:
  919.     ADRESS is useful for programmers
  920.     USECOUNT says how many times it is used right now
  921.              ROM internal residents have negative values
  922.     NAME means the name  (hard to guess :)
  923. * Typing one or more command names after RESIDENT will make those
  924.   commands resident. ZShell will search the command search @{" path " Link path}
  925.   to try and find them.
  926. eg.     resident c/list c/cd c/date c/avail
  927.         resident ed
  928. @ENDNODE
  929. @NODE Search "Search"
  930. SEARCH file search_string
  931. * SEARCH searches for the search_string in the file. The file can
  932.   be a binary (eg. executable) or a text. Each occurance
  933.   will be printed on the window with highlighted search_string.
  934.   If the file is a text, the whole line will be printed.
  935.   If it is a binary file, it will be printed from the occurance
  936.   to the next NULL or LF.
  937. * Searching is case independent (of course!).
  938. * To search for a string at the beginning of a line (textfile only)
  939.   put a point (.) before the search_string.
  940. eg.     search zshell.doc "binary (eg."
  941.         search s:startup-sequence .assign
  942.           {show all assigns, but not "resident assign"}
  943.         search c:mount $ver:    {show version number and date,
  944.                             should work with all newer executables}
  945. @ENDNODE
  946. @NODE SetDate "SetDate"
  947. SETDATE file|directory [date/time]
  948. * SETDATE changes the date-of-last-change (DOLC) of a file or directory.
  949.   The DOLC can be shown by simply listing this file with @{" LIST " Link LIST}.
  950. * SETDATE with no date/time given sets the DOLC to the systemtime
  951.   (see @{" DATE " Link DATE},@{" SETCLOCK " Link SETCLOCK}).
  952. * If you want to set the DOLC to a special date you have to specify
  953.   the date or time or both in a format described at @{" DATE " Link DATE}.
  954. eg.     setdate ram:newthings
  955.         setdate devs:mountlist 21.8.71      {very old}
  956.         setdate murks 18:24:12 12-24-96     {future}
  957. @ENDNODE
  958. @NODE Type "Type"
  959. TYPE source
  960. * Prints to the screen the ASCII/ANSI text file specified as "source".
  961.   Hitting any key will pause the listing. Backspace will restart it.
  962.   CTRL-C will abort the listing.
  963. * Use @{" MORE " Link MORE} instead of TYPE, if possible.
  964. eg.     type readme
  965. @ENDNODE
  966. @NODE BUILTIN2 "Builtin Commands for Scripts and Controlling"
  967. Following there are descriptions of the other commands which are
  968. builtin in ZShell (and therefore need not be loaded from disk).
  969. Square brackets [] mean that the argument enclosed in is optional.
  970. A vertical bar | separates multiple possibilities, choose only one.
  971. @{" Alias " Link Alias} [variable] [definition]
  972. @{" Ask " Link Ask} [question]
  973. @{" Avail " Link Avail} [-C]
  974. @{" Border " Link Border} ON|OFF [number]
  975. @{" Cls " Link Cls}
  976. @{" Date " Link Date} [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  977. @{" Echo " Link Echo} [string]
  978. @{" Else " Link Else}
  979. @{" EndCLI " Link EndCLI} [-C]
  980. @{" EndIf " Link EndIf}
  981. @{" Eval " Link Eval} expression
  982. @{" Execute " Link Execute} source
  983. @{" FailAt " Link FailAt} [failat_level]
  984. @{" Fault " Link Fault} [error_number]
  985. @{" Flags " Link Flags} [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL] [ON|OFF]
  986. @{" Help " Link Help1} [topic]
  987. @{" If " Link If} [NOT][WARN][ERROR][FAIL][EXISTS file]
  988. @{" Lab " Link Lab} label
  989. @{" MemClk " Link MemClk} ON|OFF|ALARM
  990. @{" NewCLI " Link NewCLI} [-Wnew_window] [-Sstart_script] [-Ccommand]
  991. @{" Path " Link Path} [-C] [path1] [path2] [path3] ...
  992. @{" Prompt " Link Prompt} [string]
  993. @{" Quit " Link Quit} [error_code]
  994. @{" Review " Link Review} [bytesize|S|C]
  995. @{" Run " Link Run} [-C] commandline
  996. @{" SetClock " Link SetClock} LOAD|SAVE
  997. @{" Skip " Link Skip} label
  998. @{" Stack " Link Stack} [size]
  999. @{" UnAlias " Link UnAlias} [alias1] [alias2] [alias3] ...
  1000. @{" Wait " Link Wait} timeout
  1001. @{" Comments " Link Comments}
  1002. @ENDNODE
  1003. @NODE Alias "Alias"
  1004. ALIAS [variable] [definition]
  1005. * ALIAS assigns a variable name to a definition. The variable name
  1006.   can be up to 15 characters long, and the definition can be up to
  1007.   about 360 characters long.
  1008. * Typing ALIAS with no parameters at all, will generate a list of all
  1009.   current alias definitions.
  1010.   eg.   alias
  1011. * Aliasing of Function Keys
  1012.   eg.   alias f1 ed df0:s/startup-sequence^M
  1013.   This example assigns the unshifted F1 key to "ed df0:s/startup-sequence"
  1014.   with following return. Note that the ^M characters puts an auto
  1015.   carriage return in the definition.
  1016.   eg.   alias F10 cd df0:^M
  1017.   This sets shifted F10 to "cd df0:<CR>".
  1018.   You can use quotes to make it look better:
  1019.         alias f2 "cd df1:^M"
  1020.         alias f4 "genim2 "
  1021.         alias F9 "scribble df0:text/"
  1022.   If you want to use a semicolon in the alias, you need to use quotes:
  1023.         alias f1 "a68k z.a;blink z.o to z^M"
  1024.   or leave away the quotes and use a backslash before the semicolon:
  1025.         alias f1 a68k z.a\;blink z.o to z^M
  1026. * Aliasing of commands
  1027.   eg.   alias mv rename
  1028.   This allows an alternate name for rename. i.e. mv.
  1029.   So you could type
  1030.         mv oldname newname      {to rename oldname to newname}
  1031.   eg.   alias as a68k
  1032.         alias pp powerpacker
  1033.         alias go "a68k zsh.s;blink zsh.o to zsh"
  1034.         alias cped copy df0:c/ed
  1035.   You would use this last alias, if you need to copy a particular
  1036.   file a lot. So, to copy c/ed to ram: use:
  1037.         cped ram:
  1038. * You can also pass external parameters to an alias.
  1039.   eg.   alias al "%1 a68k $1.s;blink $1.o to $1"
  1040.   Typing
  1041.         al test
  1042.   will assemble test.s using a68k, then blink test.o to become test.
  1043. You can specify upto eight parameters to pass to a command alias.
  1044. At the start of the alias definition, specify the parameters to pass
  1045. with the variables %0 thru %7. These need not be in sequence. The
  1046. first %n will be assigned to the first parameter, the 2nd %n to
  1047. the 2nd parameter etc.
  1048. Insert the corresponding variables $0 thru $7 at the points in the
  1049. alias definition where that parameter is to appear.
  1050. eg.     alias disp %1 %2 %3 echo "$3 $2 $1"      {is the same as: }
  1051.         alias disp "%1 %2 %3 echo "$3 $2 $1""    {note the quotes}
  1052.         alias cram %0 %1 %2 %3 copy $0 $1 $2 $3 ram:
  1053.         alias go %5 %1 %6 %2 echo "1st-$5 2nd-$1 3rd-$6 4th-$2"
  1054. * Command aliases can be nested to 1 level.
  1055.   eg.   alias clear echo ^L\;alias cdir "%1 clear;cd $1;dir"
  1056. * An important point about aliases, is that you can redefine the
  1057.   existing internal command names.
  1058.   eg.   alias help "type help_screen"
  1059.   This would make it so that pressing HELP or typing H E L P would
  1060.   not generate the standard help command list, but would type the
  1061.   file called  help_screen to the screen. Similarly
  1062.   eg.   alias copy c:copy       {replace copy by disk-based copy}
  1063.         alias info c:dfree
  1064.         alias list .list        {replace list by disk-based list}
  1065. * See UNALIAS for how to remove alias definitions.
  1066. @ENDNODE
  1067. @NODE Ask "Ask"
  1068. ASK [question]
  1069. * ASK prompts the user with a question requiring a Yes or No
  1070.   answer. If the first letter of the users response is "Y", ASK
  1071.   returns code WARN. Responding "E" returns ERROR, "F" returns
  1072.   FAIL. Any other letter will result in return code OK.
  1073.   The question can include ASCII characters as well as control
  1074.   codes as per the @{" ECHO " Link ECHO} command.
  1075. eg.     ask "Do you want commands copied to ram? "
  1076.         if warn
  1077.                copy c: ram:
  1078.         endif
  1079. Note: You can @{" redirect " Link redirect} the ANSWER to a file by redirecting the OUTPUT.
  1080. eg.     ask >ENV:CallIt        {The answer is written to CallIt}
  1081. @ENDNODE
  1082. @NODE Avail "Avail"
  1083. AVAIL [-C]
  1084. * AVAIL shows the available memory as:
  1085.   1.Total chip memory free,
  1086.   2.Total fast memory free,
  1087.   3.Total memory free.
  1088. * With @{" option " Link option} "-c" given, it tries to free unused memory
  1089.   (remove unused libraries, devices and the help manual)
  1090. eg.     avail
  1091.         avail -c
  1092. @ENDNODE
  1093. @NODE Border "Border"
  1094. BORDER ON|OFF [number]
  1095. * Switches the border of the window on or off. If the border is off
  1096.   there will fit some more characters in a line; this can be useful
  1097.   when viewing texts with @{" MORE " Link MORE}.
  1098. * If you run OS1.3-, you should do a @{" CLS " Link CLS} or "echo ^L" after
  1099.   using BORDER OFF.
  1100. * If you specify a number after ON or OFF, the window is resized as
  1101.   large as possible. The number means the wanted distance of the
  1102.   window top to the screen top in pixels. By specifying a negative
  1103.   value the window will just not hide the screens menu bar.
  1104. eg.     border off
  1105.         border on 0         {fills full screen}
  1106.         border off -1       {does not hide the menu bar}
  1107.         border on 10;cls    {with OS1.3-}
  1108. @ENDNODE
  1109. @NODE Cls "Cls"
  1110. * CLS clears the window.
  1111.   It also resets the consolehandler, so if you see lots of funny
  1112.   characters on the window, try CLS.
  1113. * You can do the same by using "echo ^[c".
  1114. * CTRL L only clears the window (same as "echo ^L").
  1115. eg.     cls
  1116. @ENDNODE
  1117. @NODE Date "Date"
  1118. DATE [hh:mm:ss|dd.mm.yy|mm-dd-yy]
  1119. * DATE without arguments shows the actual date and time (systemtime).
  1120. * You can specify one or two arguments to set date or time or both.
  1121.   The time format must be in HOUR:MINUTE:SECOND . Do not forget the
  1122.   colon (:) between. Give only one or two digit numbers.
  1123.   There exists two formats for setting the date. First is
  1124.   DAY.MONTH.YEAR . Second is MONTH-DAY-YEAR . Use only one or two
  1125.   digit numbers.
  1126. eg.     date
  1127.         date 14:15:00         {quarter past two PM}
  1128.         date 12.5.94          {12th of May in 1994}
  1129.         date 3-30-88 8:12:45  {30th of March in 1988 in the morning}
  1130. @ENDNODE
  1131. @NODE Echo "Echo"
  1132. ECHO [string]
  1133. * Prints the "string" to the screen. If you want spaces in the
  1134.   string, make sure the whole string is enclosed in quotes. If you
  1135.   want to print special control characters (eg. ctrl-L clear screen)
  1136.   then prefix the control letter with a ^ character. If you want to
  1137.   print double quotes, then use the \ character before the qoutes.
  1138.   If you want to print some special characters like the CSI ($9B),
  1139.   you can put a (hexa-)decimal number after the ^ character; you can
  1140.   separate it from the next character by a point (.) . Do not forget
  1141.   the ^J at the end of a line.
  1142. eg.     echo hello^J
  1143.         echo "Hello world !"
  1144.         echo Hello world !
  1145.         echo "^Lthe screen was just cleared^J"
  1146.         echo "^Lline 1^Jline 2^Jline 3^J"
  1147.         echo "these are double quotes ->\"^J"
  1148.         echo ^*33mColor^*32mful^J
  1149.         echo ^*4mUnderlined^*0mNormal^J
  1150. * Some common control codes are:
  1151.   ^7    ^G      bell (makes a DisplayBeep)
  1152.   ^10   ^J      linefeed.
  1153.   ^12   ^L      clear screen.
  1154.   ^13   ^M      carriage return.
  1155.   ^24   ^X      clear line.
  1156.   ^27   ^[      escape.
  1157.   ^$9b  ^*      CSI (command sequence introducer).
  1158. @ENDNODE
  1159. @NODE Else "Else"
  1160. * ELSE marks the middle of an @{" IF " Link IF} statement. All statements
  1161.   following it, and before the @{" ENDIF " Link ENDIF} statement will be executed
  1162.   only if the IF condition is FALSE. See @{" IF " Link IF} for usage.
  1163. @ENDNODE
  1164. @NODE EndCLI "EndCLI"
  1165. ENDCLI [-C]
  1166. * Exits you from ZShell back to the AmigaDOS CLI prompt or Workbench.
  1167. * If the @{" option " Link option} "-c" was specified, it will clear ZShell as a
  1168.   @{" resident " Link resident}: only in low memory situations needed.
  1169. * Instead of using ENDCLI you can simply press the ESC key or click
  1170.   on the close gadget, if available.
  1171. eg.   endcli
  1172.       endcli -c
  1173. @ENDNODE
  1174. @NODE EndIf "EndIf"
  1175. ENDIF
  1176. * ENDIF marks the end of an IF statement. See @{" IF " Link IF} for usage.
  1177. @ENDNODE
  1178. @NODE Eval "Eval"
  1179. EVAL expression
  1180. * EVAL evaluates the "expression" as a reverse polish expression,
  1181.   and displays the answer in decimal and hex notation. Reverse
  1182.   Polish Notation (RPN) is used in Forth and in Hewlett Packard
  1183.   calculators (the best calculators in the world). It is based on
  1184.   how arithmetic is actually done at the lowest possible level.
  1185.   RPN allows calculating complex expressions without using brackets.
  1186. eg.     eval 4 5 +
  1187.   This gives the answer 9. When a number is found, it is "pushed"
  1188.   onto the arithmetic stack. The + always adds the last two numbers
  1189.   on the stack.
  1190. eg.     eval 7 2 3 + -
  1191.   This gives the answer 2. It is the same as (7 - (2 + 3)). See,
  1192.   7 is first pushed onto the stack, followed by 2, then 3. The +
  1193.   adds together the 2 and 3 and leaves the result 5 on the stack.
  1194.   Which means that the number 7 followed by 5 are left on the
  1195.   stack. The - subtracts the last entry (5) on the stack from the
  1196.   one before it (7), leaving the result 2.
  1197. eg.     12 * (3 + 9)                    > eval 12 3 9 + *
  1198.         (15 - 4) * (6 + 18)             > eval 15 4 - 6 18 + *
  1199.         (6 * ((87 + 13) / (2 * 25)))    > eval 6 87 13 + 2 25 * / *
  1200. * EVAL only performs 32 bit integer arithmetic.
  1201.   Negative numbers are prefixed with - .(hexadecimal they are
  1202.   shown as a 31 bit integer with bit 32 set, as usual)
  1203.   Prefixing positive numbers with + is optional.
  1204. eg.     eval +5 -3 +    {results in 2  hex:$00000002}
  1205.         eval -5 3 +     {results in -2 hex:$fffffffe}
  1206. * EVAL supports decimal, hexadecimal and binary  numbers.
  1207.   If you prefix the number with $, the number is hex
  1208.   If you prefix the number with %, it is binary.
  1209. Programmers: For BPTR-APTR conversion you can use & to specify
  1210.   a hexadecimal APTR when asked for a BPTR and vice versa with 
  1211. eg.     eval $c00000 $a0 16 * +
  1212. * EVAL can also be used to perform base conversions (to dec or hex)
  1213. eg.     eval $ca
  1214.         eval %10110001
  1215.         eval 45
  1216.         eval &5a8
  1217. * The operators + - * / & | @ ! are supported.
  1218.   The & allows logical AND'ing. And | allows logical OR'ing.
  1219.   The @ is similar to PEEK in BASIC.
  1220.   Conversely, ! is similar to POKE in BASIC
  1221. eg.     eval $80 $21 $08 | | $aa &
  1222.         eval $67 %11001011 &
  1223.         eval $c00000 @
  1224.   This prints out the long word in memory locations $c00000 - $c00003.
  1225.         eval $aa55aa55aa $40000 !
  1226.   This pokes the long word $aa55aa55aa into locations $40000 thru $40003.
  1227. * For environment handling you can specify the value of an
  1228.   environment variable with | followed by the name.
  1229.   To store the result in a variable, @{" redirect " Link redirect} the output.
  1230. eg.     eval >ENV:aa |ENV:bb 1 +
  1231.   This adds 1 to the value in ENV:bb and stores the result in ENV:aa
  1232. * If the result was 0 an error (fail-level 10) will be returned.
  1233.   If it was negative, a warn (5) returns. (Not when redirecting output)
  1234. @ENDNODE
  1235. @NODE Execute "Execute"
  1236. EXECUTE source
  1237. * Executes the AmigaDOS script file of name "source" using an
  1238.   AmigaDOS shell, so no compatibility problems should occur.
  1239.   However in AmigaDOS scripts you cannot use ZShell-internal commands.
  1240. * To execute a ZShell script you have to set the @{" S-protection flag " Link Protect}
  1241.   and then you can execute it treating like a normal @{" command " Link Executing}.
  1242.   All ZShell commands, as well as commands from disk are valid within a
  1243.   ZShell script file.
  1244. * You can break scripts by pressing CTRL-D.
  1245. eg.   execute install_hard_disk
  1246. @ENDNODE
  1247. @NODE FailAt "FailAt"
  1248. FAILAT [failat_level]
  1249. * FAILAT sets the error code level at which scripts (and multiple
  1250.   commands on one line) will be aborted. The default level is 10.
  1251.   Most commands return 10 as an error, (20 for serious errors)
  1252.   while compilers returning Warning type errors will return 5.
  1253.   Hence, the default of 10 will allow Warnings to occur without
  1254.   the script (or line) being aborted. If a command returned an error
  1255.   code higher than the failat level, it will be printed out on the
  1256.   window.
  1257. eg.     failat 20       {sets failat level to 20}
  1258. * If you do not specify a failat level, the current setting is
  1259.   shown.
  1260. eg.     failat
  1261. @ENDNODE
  1262. @NODE Fault "Fault"
  1263. FAULT [error_number]
  1264. * FAULT displays a textual error message of the given DOS-error-number
  1265. eg.     fault 103
  1266.   (says something like "no free store", go and buy some extra memory :-)
  1267. @ENDNODE
  1268. @NODE Flags "Flags"
  1269. FLAGS [CHECK|MATCH|ICON|WILD|ERRORS|DEBUG|CUT|ALL|HIDE] [ON|OFF] ...
  1270. * With this you can configure some things. Use FLAGS without arguments
  1271.   to see the current settings. The meaning of the keywords are:
  1272. CHECK: (default off) Activates or deactivates the programmers status line.
  1273.   The status line (if activated) will only appear once a disk based
  1274.   or resident program has been executed. The line appears as follows:
  1275.   Result2: 0  time = 00:00:23.66  changes-> chip: 0  fast: 0  total: 0
  1276.   Result2 shows the error code that can be asked for with IoErr.
  1277.   Time shows how long the program took to execute in hours,
  1278.   minutes, seconds, hundredths (This time does NOT include the time
  1279.   it takes to load the program from disk). Changes show if the program
  1280.   has left any memory still allocated. i.e. if 200 bytes of chip
  1281.   memory were left allocated by the program, then you see "chip: -200".
  1282.   The Return code (the program returns in D0) is shown as Fail-Level.
  1283. MATCH: By default @{" Filenamecompletion " link Filenamecompletion} shows all files that matches
  1284.   the given pattern. You can switch this off by using "FLAGS MATCH OFF".
  1285. ICON: (default off, OS2.0+) This enables iconifying when pressing ESCAPE
  1286.   or clicking the Close-Gadget. To exit from ZShell use @{" ENDCLI " link Endcli}.
  1287.   You need Workbench running and ZShell must have opened its own window
  1288.   (start from Workbench, start with newcli or used -W when started from
  1289.   CLI).  When iconifying, a icon is created on the Workbench and the
  1290.   window is closed. Double-clicking on this icon or dragging a file into
  1291.   it pops ZShell up again. Use the ToolTypes "ICONNAME", "XPOS" and
  1292.   "YPOS" to determine the name and position of the icon.
  1293.   ToolType "ICONIFY" lets ZShell start in iconifyed mode.
  1294. WILD: (default off, OS2.0+) By enabling this, you force ZShell to use
  1295.   AmigaDOS @{" wildcard-patternmatching " link wild_card} instead of the internal matcher. Use
  1296.   this if you like #? rather than * or if you need multiple * in one name.
  1297. ERRORS: (default on) Most external commands show their errormessages
  1298.   themselves, so you often see double error messages. Using ERRORS you can
  1299.   switch off this behaviour, but you risk to miss some errormessages !
  1300.   If you see a large errornumber, this command assumed that there will be
  1301.   no error-output and does not set the correct errorcode --- this is
  1302.   badly programmed !
  1303. DEBUG: (default off) This is for testing/debugging script-files. Switching
  1304.   DEBUG to ON, the commands from the script appear on the window as they
  1305.   are processed (you need to execute the script for that, ofcourse),
  1306.   and redirection will be ignored (so you will see even output to >NIL: ).
  1307. CUT: (default on) For @{" MORE " link More}. If ON, lines longer than the window will be
  1308.   cutted at the end. If OFF, too long lines will wrapped to next line.
  1309. ALL: (default on) Enables the substitute ALL for the @{" option -R " link option}.
  1310.   Note that -R must be the first argument (or second after -Q) and ALL
  1311.   must be the last argument.
  1312.   (Only in this release you can place ALL anywhere you like)
  1313. HIDE: (default on) When on the cursor will be hidden for outputting. This 
  1314.   improves scrolling speed. Switching off is only thougth for debugging.
  1315. eg.     flags icon on all off
  1316.         flags errors off all off check on
  1317.         flags e. off a. off ch. on          {same as above}
  1318. @ENDNODE
  1319. @NODE Help1 "Help"
  1320. HELP [topic]
  1321. * HELP shows the lines of this manual corresponding to the topic.
  1322.   To see all topics available, type "HELP CONTENTS" . Make sure that
  1323.   the manual "ZShell.doc" is in the current directory or in S: !
  1324.   For some help about a command you can also type "commandname ?" .
  1325.   Type only "?" to read the manual with @{" MORE " Link MORE}.
  1326. Note: Instead of typing the topic you can type just some starting
  1327.       characters.
  1328. Note: The manual is only loaded once and will stay in memory till
  1329.       you use @{" AVAIL -C " Link Avail} or @{" ENDCLI -C " Link EndCLI}
  1330. eg.    help contents       {"help cont" will do the same}
  1331.        help copy
  1332.        makedir ?
  1333.        ?
  1334. * HELP without a topic lists the names of all available ZShell
  1335.   commands to the screen. This does not need the manual.
  1336.   HELP can also be invoked by hitting the HELP key.
  1337. eg.   help
  1338. @ENDNODE
  1339. @NODE If "If"
  1340. IF [NOT][WARN][ERROR][FAIL][EXISTS file]
  1341. * The IF command allows conditional execution of statements
  1342.   following it.
  1343. * If the condition specified is true, then execution continues
  1344.   after the IF statement until either an @{" ENDIF " Link ENDIF} or @{" ELSE " Link ELSE} statement
  1345.   is encountered. If it is an ELSE statement, then all statements
  1346.   between the ELSE and the closing ENDIF are skipped.
  1347. * If the condition is false, then all statements after the IF and
  1348.   before either an @{" ENDIF " Link ENDIF} or @{" ELSE " Link ELSE} statement are skipped. If an ELSE
  1349.   is encountered, then execution continues for all statements after
  1350.   the ELSE and before the closing ENDIF.
  1351. * IF can examine the state of the return code from the last command
  1352.   execute with WARN, ERROR, and FAIL tests. You can test for the
  1353.   non existence of such a state by including the optional NOT
  1354.   parameter.
  1355. eg.     IF WARN
  1356.            echo "last command returned warnings"
  1357.         ELSE
  1358.            echo "last command did not return warnings"
  1359.         ENDIF
  1360.         IF NOT FAIL
  1361.            echo "last command did not fail"
  1362.         ENDIF
  1363. * IF can also test for the existence of a file or directory.
  1364. eg.     IF EXISTS :system/format
  1365.            echo "this disk has a format command"
  1366.            echo "you can look yourself. I'm not joking"
  1367.         ENDIF
  1368.         IF NOT EXISTS ram:ed
  1369.            copy c:ed ram:
  1370.         ENDIF
  1371. @ENDNODE
  1372. @NODE Lab "Lab"
  1373. LAB label
  1374. * LAB specifies a destination (label) for the @{" SKIP " Link SKIP} command.
  1375. @ENDNODE
  1376. @NODE MemClk "MemClk"
  1377. MEMCLK ON|OFF|ALARM
  1378. * MEMCLK is for using a clock shown in the border of the actual
  1379.   window. The current total free and chip free memory are also
  1380.   shown. It can do a DisplayBeep (short flash on all screens) at a
  1381.   specified time. The DisplayBeep can be converted into a sound
  1382.   by using a PD-utility for that or using Workbench 2.1+ .
  1383. * Programmers: There will be only one "MemClock"-Task, even if you
  1384.   run MEMCLK on many windows  -> memory and CPU saving.
  1385. * MEMCLK ON switches the clock on or does nothing if it already
  1386.   exist.
  1387. * MEMCLK OFF switches the clock off or does nothing if it does not
  1388.   exist.
  1389. * MEMCLK ALARM shows the alarm time. If you type a time (see @{" DATE " Link DATE})
  1390.   after ALARM, you set the alarm time. (You cannot set an alarm date
  1391.   or multiple times.) ( MEMCLK A is the same as MEMCLK ALARM )
  1392. eg.     memclk on
  1393.         memclk off
  1394.         memclk alarm
  1395.         memclk a 21:34:07
  1396. * The clock can also be used on non-ZShell windows, but MAKE SURE
  1397.   that the clock is switched OFF BEFORE the window is CLOSED,
  1398.   otherwise you will see THE GURU (or an ALERT with OS2.0+)
  1399.   For example, to get a clock on the Workbench, type in ZShell
  1400.         wait 5;memclk on
  1401.   and press RETURN. Now you have 5 seconds to click on the Workbench
  1402.   screen. For removing use "wait 5;memclk off" .
  1403. @ENDNODE
  1404. @NODE NewCLI "NewCLI"
  1405. NEWCLI [-Wnew_window] [-Sstart_script] [-Ccommand]
  1406. * NEWCLI without arguments starts a new ZShell process.
  1407.   Things like paths, aliases and history buffer (!) will be copied to
  1408.   the new ZShell. The input/output window is created with the default
  1409.   specification. The startup script will be S:ZStart.
  1410. * "NEWCLI -Wnew_window" is used for opening a window with different
  1411.   specifications than the default. If you specify just "-W",
  1412.   there will be no window and output will be send to NIL: ; if there
  1413.   is input necessary, the ZShell process will just end (for
  1414.   example at a end of a script).
  1415. * "NEWCLI -Sstart_script" is used if the name of the startup script
  1416.   should be different from S:ZStart. If you specify just "-S", no
  1417.   script will executed.
  1418. * "NEWCLI -Ccommand" @{" executes " Link Executing} the command when starting. No script
  1419.   will be executed.
  1420. eg.     newcli
  1421.         newcli -wcon:30/30/400/50/Shell
  1422.         newcli -wcon:50/20/500/100/Hello -ss:shell-startup
  1423.         newcli -sram:doassigns -w
  1424.         newcli "-wcon:30/30/400/50/Great Shell" "-cecho Welcome !"
  1425. @ENDNODE
  1426. @NODE Path "Path"
  1427. PATH [-C] [path1] [path2] [path3] ...
  1428. * PATH defines the command search path used by ZShell when searching
  1429.   for disk based commands (see @{" EXECUTING COMMANDS " Link EXECUTING}) .
  1430.   If you give the "-c" @{" option " Link option}, the old search path will be cleared
  1431.   and the new search path consist only of the given paths.
  1432. eg.     path -c c: ram:c df0: df1:
  1433.   This example will make it so that if you type a command which is
  1434.   not internal in ZShell, the @{" resident " Link resident} list will be searched for it,
  1435.   then the current directory, then the c: directory, then the ram:c
  1436.   directory, then df0:, and finally df1:
  1437. * By omitting the -c @{" option " Link option}, you can add a number of paths onto the
  1438.   existing command search path.
  1439. eg.     path df2:c
  1440.         path df1:bin df1:myprogs
  1441. * If, however, you type path with no parameters, the current search
  1442.   path will be displayed.
  1443. * When starting ZShell the paths of Workbench (if available) will be
  1444.   copied.
  1445. Note: It is a crazy thing that AmigaDOS shell always has C: as last path.
  1446.   In my startup-sequence you can find something like:
  1447.   "path ram: c: sys:utilities sys:system s: sys:prefs"
  1448.   In AmigaDOS shell the C: directory will then be searched twice if a
  1449.   command could not be found. Only having C: as last path slows down
  1450.   access, because most commands are in C:.
  1451.   That is why you have to specify C: explicite in ZShell where you want it.
  1452. @ENDNODE
  1453. @NODE Prompt "Prompt"
  1454. PROMPT [string]
  1455. * If no parameter is typed, the current prompt setting will be shown.
  1456. eg.     prompt
  1457. * If a prompt string is specified, the current prompt setting
  1458.   will be changed to that string. The character "%" specifies a
  1459.   special prompt option:
  1460.     %p      Insert whole path of current directory.
  1461.     %s      Insert last part of the path of current directory.
  1462.     %n      Insert CLI number
  1463.     %l      Insert current input line number (for fun!)
  1464.     %c      Insert last command (for even more fun ! :-)
  1465. * You can use control sequences like in the @{" ECHO " link Echo} command.
  1466. eg.     prompt "%s> "     {default prompt. Show current directory + ">"}
  1467.         prompt "%n.%p> "  {show CLI number, then current dir, then ">"}
  1468.         prompt Hello!     {shows "Hello!" at the start of every line}
  1469.         prompt %p^J^*32m> {Just try it!}
  1470. @ENDNODE
  1471. @NODE Quit "Quit"
  1472. QUIT [error_code]
  1473. * QUIT forces a script file to end, and return to the shell.
  1474.   An optional error code can be passed back (ie. 5=WARN 10=ERROR
  1475.   15=BAD 20=FAIL etc).
  1476. eg.     quit 5
  1477.         quit
  1478. @ENDNODE
  1479. @NODE Review "Review"
  1480. REVIEW [bytesize|S|C]
  1481. With the reviewbuffer you can see that again what scrolled out of the
  1482. window or was @{" redirected " Link redirect}. In the reviewbuffer are all outputs stored.
  1483. To see what is in the reviewbuffer just press SHIFT TAB. This activates
  1484. the @{" MORE " Link MORE} text reader.
  1485. * "REVIEW bytesize" (re)creates a reviewbuffer with the given size.
  1486. * "REVIEW 0" removes the reviewbuffer.
  1487. * "REVIEW" without arguments shows the adress and size of the current
  1488.   reviewbuffer.
  1489. * "REVIEW C" clears the reviewbuffer.
  1490. * "REVIEW S filename" saves the reviewbuffer to that file.
  1491. eg.     review 10000        {starts normal reviewbuffer}
  1492.         review 50000        {starts big reviewbuffer}
  1493.         review 0            {deletes reviewbuffer}
  1494. NOTE 1: Because it uses a circular buffer with fixed size, this is much
  1495.   faster than having a fixed number of lines. The decrease in scrolling
  1496.   speed is neglible.
  1497. NOTE 2: The Write function of the dos.library will be patched, so
  1498.   there might be problems with other programms that patch this too.
  1499. @ENDNODE
  1500. @NODE Run "Run"
  1501. RUN [-C] commandline
  1502. * RUN @{" executes " Link Executing} a commandline in a separate process. If you want to
  1503.   execute several commands, you can separate them with \; .
  1504. * If you do not need a window, you can specify the "-C" @{" option " Link option}.
  1505. eg.     run dir ram:
  1506.         run -c assign libs: df0:libs
  1507. @ENDNODE
  1508. @NODE SetClock "SetClock"
  1509. SETCLOCK LOAD|SAVE
  1510. * SETCLOCK only works if you have a battery backed up clock (BBUC).
  1511.   It accesses the adresses $DC0000 and I do not know if it works
  1512.   with very old or very new (A1200) clocks.
  1513. * SETCLOCK LOAD sets the systemtime (you can see the systemtime with
  1514.   @{" DATE " Link DATE} or @{" MEMCLK " Link MEMCLK}) to the time in the BBUC (hopefully this is the
  1515.   right time).
  1516. * SETCLOCK SAVE first resets the BBUC, then stores the systemtime
  1517.   to the BBUC.
  1518.   To set the BBUC to the right time, use @{" DATE " Link DATE} to set the correct
  1519.   date and time, then use SETCLOCK SAVE.
  1520. eg.     setclock load
  1521.         setclock save
  1522. @ENDNODE
  1523. @NODE Skip "Skip"
  1524. SKIP label
  1525. * SKIP searches for the label within the current script file. If it
  1526.   finds it, execution continues from that point onwards. Labels
  1527.   are specified using the @{" LAB " Link LAB} command.
  1528. eg.     lab myloop
  1529.         dir ram:
  1530.         ask "list ram again? "
  1531.         if warn
  1532.            skip myloop
  1533.         endif
  1534. @ENDNODE
  1535. @NODE Stack "Stack"
  1536. STACK [size]
  1537. * Allows you to view or alter the current stack size.
  1538. eg.     stack            {shows the current stack size}
  1539.         stack 30000      {sets current stack = 30000 bytes}
  1540. @ENDNODE
  1541. @NODE UnAlias "UnAlias"
  1542. UNALIAS [alias1] [alias2] [alias3] [alias4] ...
  1543. * UNALIAS removes one or more @{" alias " Link alias} definitions from the alias list.
  1544. * UNALIAS without arguments removes all aliases.
  1545. eg.     alias f1 "cd df0:;dir^M"
  1546.         alias f2 "cd df1:;dir^M"
  1547.         ...
  1548.         alias f10 "ed df1:s/startup-sequence^M"
  1549.         unalias f1 f2 f3 f4 f5 f6 f7 f8 f9
  1550.         ...
  1551.         unalias f10
  1552. @ENDNODE
  1553. @NODE Wait "Wait"
  1554. WAIT timeout
  1555. * WAIT halts processing for the time given. Timeout is in seconds.
  1556.   You can abort this with CTRL-C.
  1557. eg.     echo "I'll wait a minute"
  1558.         wait 60
  1559. @ENDNODE
  1560. @NODE Comments "Comments"
  1561. ; blah blah blah blah
  1562. * etc etc etc
  1563. # hello ma
  1564. * Placing a semi-colon, an asterisk or a hash character as the 1st
  1565.   character in the line of a script file allows you to place comments
  1566.   in it.
  1567. eg.   ; This is a comment line
  1568. * If you want to place a comment at the end of a line, you have to
  1569.   put ;# before it.
  1570. eg.   info;#to see something interesting
  1571. @ENDNODE
  1572. @NODE BUILTIN3 "Builtin Commands for Advanced Users"
  1573. These commands are thought for users with a deeper knowledge of the
  1574. system. Maybe they are also useful for those not knowing of the system
  1575. internals. Just try the examples to find that out.
  1576. @{" Break " Link Break} task_description [signalmask|C|D|E|F]
  1577. @{" Ctrl " Link Ctrl} [max_16_chars | -C [ignore_name] | -R 8_colour_digits]
  1578. @{" Die " Link Die} device
  1579. @{" DiskChange " Link DiskChange} device
  1580. @{" GetMsg " Link GetMsg} [portname]
  1581. @{" Locate " Link Locate} [-C] lock|filename
  1582. @{" M " Link M} [start_address] [end_address]
  1583. @{" PutMsg " Link PutMsg} port_description [number1|string1] [number2|string2] ...
  1584. @{" Show " Link Show} D|I|L|M|P|R|S|T|V
  1585. @{" Strings " Link Strings} sourcefile [count]
  1586. @{" TaskPri " Link TaskPri} priority [task_description]
  1587. @ENDNODE
  1588. @NODE Break "Break"
  1589. BREAK task_description [signalmask|C|D|E|F]
  1590. * BREAK sets some signals at a given task
  1591. * task_description can be one of:
  1592.   - task/process name (case dependent !)
  1593.   - task/process adress
  1594.   - CLI-process number (one from 1 to 20)
  1595.   - zero (0) for this task
  1596.   It will be checked if the node-type field contains TASK or PROCESS
  1597. * signalmask is a longword; all bits, which should be signalled,
  1598.   must be 1 . Alternatively you can specify c,d,e or f to set
  1599.   the according signal to CTRL-C,-D,-E or -F. (CTRL-C is bit 12)
  1600. * BREAK without signalmask (and c,d,e,f) given sets all signals the
  1601.   task is waiting for.
  1602. eg.     break RexxMaster    {and it will be gone...}
  1603.         break Exchange c    {Exchange will get itself off too}
  1604. eg. If 2 ZShells are running. The one with the CLI-number 1 (get that
  1605.     out with prompt %n) lists a very large directory. You can break
  1606.     that by using the other ZShell typing:
  1607.         break 1 c
  1608.     Thats the same like you pressed CTRL-C on the ZShell number 1.
  1609. @ENDNODE
  1610. @NODE Ctrl "Ctrl"
  1611. CTRL [max_16_chars | -C [ignore_name] | -R 8_colour_digits]
  1612. This command is for changing the default settings.
  1613. * CTRL is for command-line-editing-keys-definitions (great word :).
  1614.   In other words: You can change the meaning of keys pressed with
  1615.   CTRL (Control) and some other keys (TAB ^I, Backspace ^H,
  1616.   Return ^M, Shift-Return ^J, ESC ^[).
  1617. * "CTRL" without arguments shows the current definitions.
  1618. eg.     ctrl
  1619. * "CTRL WQSEIX[RYHJMLAVn" (case dependent) sets the default settings.
  1620.   To change something, just change the character corresponding to
  1621.   the key pressed with CTRL. See some lines above for some CTRL-
  1622.   equivalents ( eg. TAB is same as CTRL-I ).
  1623.   You may get confused if you define one key twice.
  1624. eg.     ctrl QWKU         {half line deleting like OS2.0 shell}
  1625.         ctrl QWSEAXTIYMJH {...and you will have lots of fun}
  1626. * There is a special meaning with the 16th character. This is by
  1627.   default the point (.), which is displayed as a "n" (don't get
  1628.   confused). The point has a special meaning in some commands
  1629.   (@{" ECHO " Link ECHO},@{" SEARCH " Link SEARCH},@{" PUTMSG " Link PUTMSG}, dir back, force disk, abbreviation)
  1630.   and can be redefined using "CTRL WQSEIX[RYHJMLAVn", but replace the
  1631.   point by the character desired. The ASCII code must be between
  1632.   32 and 64.
  1633. eg.     ctrl WQSEIX[RYHJMLAV#  {# is now a special character}
  1634. * "CTRL -C" shows the ignored filenames for @{" filenamecompletion " Link filenamecompletion}.
  1635.   By default this is unset. (-C means here -Complete)
  1636. * "CTRL -C filedescription" defines which names are not completed.
  1637.   "filedescription" contains @{" wild card " Link wild_card}(s) in most cases.
  1638. eg.     ctrl -c         {display ignore_name}
  1639.         ctrl -c *.info  {ignore *.info-files}
  1640.         ctrl -c *.info|*.bak {ignore files ending in .info and .bak}
  1641.         ctrl -c ~*.tex|*.dvi {complete only *.tex and *.dvi-files}
  1642.         ctrl -c ""      {unset ignore_name}
  1643. * "CTRL -R colours" defines the use of colours. "colours" has to be a
  1644.   8 digit number. The digit at position x defines to what colour number
  1645.   the default colour x is mapped to. Everything clear ? (I think no!)
  1646. eg.     ctrl -r 01234567   {sets the default colours}
  1647.         ctrl -r 01111111   {switches to one colour mode, very useful with
  1648.                             OS3.0+ to speed up scrolling}
  1649.         ctrl -r 01233321   {if you want to use only 4 colours}
  1650. @ENDNODE
  1651. @NODE Die "Die"
  1652. DIE device|taskdescription
  1653. * DIE lets the handler of a device (name ending in ":") end itself.
  1654.   It seems not to work with most handlers. Works with CrossDOS
  1655. * It can remove tasks too, but this will likely crash, because it is
  1656.   NOT SYSTEMCONFORM ! See @{" BREAK " Link Break} for taskdescription.
  1657. eg.     die PC0:
  1658.         die Exchange
  1659. @ENDNODE
  1660. @NODE DiskChange "DiskChange"
  1661. DISKCHANGE device
  1662. * Needed for devices which do not detect a diskchange.
  1663. eg.     mount rad:;diskchange rad:
  1664.   Makes your rad:-disk appear on the Workbench.
  1665.         diskchange ram:
  1666.   If the ram-disk does not exist yet, the handler will be started
  1667.   (and the ram-disk can appear on Workbench when done before LOADWB)
  1668. @ENDNODE
  1669. @NODE GetMsg "GetMsg"
  1670. GETMSG [portname]
  1671. * GETMSG waits for a message arriving at the process-internal
  1672.   messageport (pr_MsgPort). The message will be shown, strings
  1673.   will be tried to detected (this could cause lots of enforcer hits).
  1674.   Then you will be asked if to reply the message. "y" replies it
  1675.   and should be used normally. "e" replies and gets back to waiting
  1676.   mode again. Abort waiting is possible with CTRL-C.
  1677. * "GETMSG portname" gives the process-internal port the given name.
  1678.   Then it behaves as described above.
  1679. * See @{" PUTMSG " Link PUTMSG} for examples.
  1680. @ENDNODE
  1681. @NODE Locate "Locate"
  1682. LOCATE [-C] lock|filename
  1683. * "LOCATE lockadress" (lockadress is a BPTR) shows information about
  1684.   that lock structure. fl_Access must be -1 (write) or -2 (read).
  1685. * "LOCATE filename_or_dirname" gets an ACCESS_READ lock structure on
  1686.   that file/dir. (If you type -1 after the filename you should get
  1687.   an ACCESS_WRITE lock, but there seems to be an error in DOS !)
  1688. * "LOCATE -C lockadress" unlocks (removes) the lock structure.
  1689. eg.     locate &21f45c      {shows lock on adress $21f45c}
  1690.         locate $9f5b7       {shows lock with BPTR $9f5b7}
  1691.         locate -c $9f5b7    {removes this lock}
  1692.         locate ram:rdit     {tries to read-lock ram:rdit}
  1693.         locate ram:rdit -2  {same as above}
  1694.         locate c:mount -1   {got a write-lock on c:mount ?}
  1695. @ENDNODE
  1696. @NODE M "M"
  1697. M [start_address] [end_address]
  1698. * M is a memory contents dumping command.
  1699. * Typing M with a start and end address will display the hex and
  1700.   ASCII contents of those bytes in the memory locations specified.
  1701. * Typing M with only a start address will display 160 bytes
  1702.   starting at the location specified.
  1703. * Typing M with no parameters will display 160 bytes starting
  1704.   from the current memory location.
  1705. * The current memory location is always one location higher than
  1706.   the last location shown by a prior M command.
  1707. eg.   m $70000 $77fff
  1708.       m $fc0000
  1709.       m
  1710. @ENDNODE
  1711. @NODE PutMsg "PutMsg"
  1712. PUTMSG port_description [number1|string1] [number2|string2] ...
  1713. * PUTMSG is useful for testing programms which wait for a message,
  1714.   or to reactivate a task that waits for a message which will never
  1715.   arrive. PUTMSG sends a message to the given messageport.
  1716. * port_description can be given in 5 (!) ways:
  1717.   - Name of the messageport
  1718.   - Adress of the messageport
  1719.   - 3 ways of a task_description, see @{" BREAK " Link BREAK}. This MUST be a Process
  1720.     because the process-internal messageport will be used.
  1721. * number|string is a longword number or a string. If it is a number,
  1722.   it will just be added to the message. If it is a string, a
  1723.   adress pointing to this string will be added to the message.
  1724.   If number1|string1 was a point (.), the message will be initialized
  1725.   as an DOS-Packet.
  1726. * After sending the message PUTMSG will wait for the reply and show
  1727.   that reply like @{" GETMSG " Link GETMSG}. Abort waiting with CTRL-C.
  1728. WARNING: Your machine might CRASH if you send a message to a
  1729.   (Process-internal) port that is not waiting for this message.
  1730. NOTE: PUTMSG without arguments makes a DisplayBeep (even without a
  1731.   window) and outputs the internal register value of A5.
  1732. eg.     putmsg testtask $21fd68 12
  1733.         putmsg testport "Hello World!"
  1734.   If you have 2 ZShells, execute in the one with CLI-number 1
  1735.   "getmsg". Activate the other shell and type
  1736.         putmsg 1 "like some chatting ?"
  1737.   The ZShell no. 1 should display that and prompt "reply ?". Answer
  1738.   "y" and the message goes back again.
  1739.   Now try "getmsg wurgutz" at one ZShell and "putmsg wurgutz $abcd"
  1740.   on the other. Do not forget to reply.
  1741. * You can use PUTMSG to use the AREXX interface of a programm. This
  1742.   works with some programms even with OS1.3- and no AREXX-Package.
  1743. eg.     putmsg showdvi 0 0 0 0 0 "tofront" {gets ShowDVI to front}
  1744.   Instead of the first 0 you sometimes must write the adress of
  1745.   this task. If available replace the second 0 with a pointer to
  1746.   the rexxsyslib.library. The third 0 is called rm_Action. I do not
  1747.   know what it is for. The fourth and fifth are results, only
  1748.   interesting in the reply.
  1749. eg.     putmsg showdvi 0 0 0 0 0 "loadnew tex.dvi"
  1750. * Specify a point as first number if you want to send a DOS-Packet.
  1751. eg.     putmsg DF0 . 0 1023 0 0 -1     {same as LOCK DF0: ON}
  1752.   If you get $FFFFFFFF as 4th longword, it was successful.
  1753.  (with OS1.3- you need to use FileSystem instead of DF0)
  1754. @ENDNODE
  1755. @NODE Show "Show"
  1756. SHOW D|I|L|M|P|R|S|T|V
  1757. * Shows some information about important exec-lists:
  1758.   - Devices
  1759.   - Interrupts
  1760.   - Libraries
  1761.   - Memory
  1762.   - Ports (MessagePorts)
  1763.   - Resources
  1764.   - Semaphores
  1765.   - Tasks (and Processes)
  1766.   - Vectors for reset-resident programs
  1767.   Use the first character of one of them as argument.
  1768. * The output means:
  1769.   - Adress: hexadecimal start adress of the structure
  1770.   - Pri   : Priority, often unused
  1771.   - Ver   : Number of version  (only with D,L,R)
  1772.   - Rev   : Number of revision (only with D,L,R)
  1773.   - Name  : Name
  1774.   - State : Task state (only with T)
  1775.   - SignWait : Signals, a waiting task waits for (only with T)
  1776.   - PT    : Pr means Process, Ta means Task, Tm means Task with
  1777.             Messageport like Process     (only with T)
  1778. * If displaying the tasklist, the CLI-number (-> CLI ?:) and the
  1779.   loaded command will be shown at processes with cli-structure.
  1780.   ">" stands for output-redirected, "<" for input-redirected.
  1781.   "Bg-CLI" means background CLI.
  1782. * SHOW V displays some important execbase pointers, which give a
  1783.   good indication of whether a virus is present in your system.
  1784.   WarmCapture, CoolCapture, ColdCapture, KickTagPtr, KickMemPtr,
  1785.   and KickCheckSum are displayed. If any of these are are NOT
  1786.   zero, then either a virus, RAD, or virus protector or some
  1787.   other program that takes control of your machine when you
  1788.   reset, is present.
  1789. eg.     show d          {have a look at the device-list}
  1790.         show Devices    {same as above}
  1791.         show t          {This is REAL MULTITASKING ! :) }
  1792. @ENDNODE
  1793. @NODE Strings "Strings"
  1794. STRINGS sourcefile [count]
  1795. * STRINGS displays all valid ASCII strings in a file which have a
  1796.   length greater than or equal to the count. If no count is given,
  1797.   a default of 10 characters is used.
  1798. * This command is very useful for finding out which libraries a
  1799.   program uses.
  1800. eg.     strings c:zshell 20
  1801.         strings c:mount
  1802. @ENDNODE
  1803. @NODE TaskPri "TaskPri"
  1804. TASKPRI priority [task_description]
  1805. * TASKPRI sets the priority of a task, it can be displayed using
  1806.   "SHOW T". The priority must be between -127 and 128 and should
  1807.   be within -50 and 20 to avoid system-hangups. Standard is 0 .
  1808. * task_description is same as described at @{" BREAK " Link BREAK}.
  1809. * With one argument TASKPRI sets the priority of this task.
  1810. * If task_description is given, TASKPRI sets the priority of the
  1811.   given task.
  1812. NOTE: I did not like to call this command CHANGETASKPRI, because
  1813.       this name is really too long.
  1814. eg.     taskpri 2       {This task will be preferred}
  1815.         taskpri -1 3    {affects CLI no. 3}
  1816.         taskpri 4 Workbench
  1817. @ENDNODE
  1818. @NODE Past "Past, Present and Future"
  1819. @{" Changes " Link Changes}                               ->Past
  1820. @{" Tips and Hints " Link Tips}                        ->Present
  1821. @{" Possibilities for Future Improvements " Link Future} ->Future
  1822. @ENDNODE
  1823. @NODE Changes "Changes"
  1824. UP TO V1.3:See the source code of the ZShell V1.3 release
  1825.            (for example on FISH disk 537).
  1826.            @{" Author: Paul Hayter " Link Authors}
  1827.            Source: 103 KByte, Executable: 13 KByte, Doc: 32 KByte.
  1828. V2.0:There were so many changes, I think there is no sense in listing
  1829.      them all here, because it may be longer than this document. So just
  1830.      read this document or the source code.
  1831.      All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 14.10.94.
  1832.      Source: 180 KByte, Executable: 25 KByte, Doc: 72 KByte.
  1833. V2.1:* IMPORTANT FOR THOSE WHO USED ZSHELL V2.0: Do not start ZShell V2.1 *
  1834.      * if ZShell V2.0 is resident. This will crash your machine !         *
  1835.      * Do not use ZSH V2.0 with ZShell V2.1 and vice versa.               *
  1836.   - Added a @{" review " Link review} buffer to see that again what scrolled out of the
  1837.     window. A scrollbar will probably added in future.
  1838.   - Changed default @{" CTRL " Link CTRL}-keys; added 2 new CTRL-keys (see @{" HISTORY " Link HISTORY}).
  1839.   - Changed usage of @{" MORE " Link MORE} (you can still use the cursor keys).
  1840.   - @{" DIR " Link DIR} now hides all these files that @{" Filenamecompletion " Link Filenamecompletion} ignores.
  1841.   - Some bugs found with mungwall and scratch are fixed.
  1842.   All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 11.12.94.
  1843. V2.2: I did some bugfixes and minor improvements (I have no time for more).
  1844.   - Fixed a REALLY NASTY BUG that trashed taskswitching when closing ZShell.
  1845.   - @{" AmigaGuide-Documentation " Link Distribution} added !
  1846.   - @{" RUN-Command " link Run} added !
  1847.   - @{" NEWCLI " link NewCLI} has a new argument template.
  1848.   - @{" CTRL-J = Shift-RETURN " Link History} puts the command line in History
  1849.     buffer without executing.
  1850.   - @{" PROMPT " Link Prompt} now knows the args %s and %c :-) . Default Prompt
  1851.     changed to "%s> ".
  1852.   - Better building of the CLI-Interface when @{" starting " Link Starting} from WB.
  1853.   - Now the @{" Pseudo-Assign " link Assign} PROGDIR: is provided (OS2.0+ only).
  1854.   - @{" LIST -Q -R " Link List} also works; @{" DIR " Link Dir} can also list recursive.
  1855.   - @{" ECHO Hi There ! " Link Echo} will now do the same as ECHO "Hi There !" .
  1856.   - Improved options when @{" starting " link Starting} from CLI.
  1857.   All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 3.1.95.
  1858. V2.3: This time there are some real new features. Because now I have my
  1859.     OS3.1 Autodocs and Includes, I have added several features that can
  1860.     only be used with OS2.0+. There will be done version-checkings before
  1861.     using OS2.0+ specific stuff, so no need to be afraid of crashes.
  1862.   - New Commands: @{" MAKEICON " link MakeIcon}, @{" MAKELINK " link MakeLink}, @{" FLAGS " link Flags} and @{" MOVE " link Move}.
  1863.   - @{" DELETE " link Delete}, @{" COPY " link Copy}, @{" MOVE " link Move}, @{" PROTECT " link Protect} and @{" JOIN " link Join} are fully rewritten !
  1864.     They now all use the directory-lister (for LIST and DIR)
  1865.     and therefore all support wildcards and recursive processing !
  1866.   - @{" PATH " link Path}-Command is now AmigaDOS compatible.
  1867.     Paths from Workbench are duplicated on starting from Workbench.
  1868.   - Support of Hardlinks and Softlinks by @{" MAKELINK " Link MakeLink}, @{" LIST " Link List} and @{" DIR " Link Dir}.
  1869.   - @{" ASSIGN " link Assign} supports ADD, REMOVE, PATH and DEFER.
  1870.   - @{" Redirection " link Redirection} improved: Can also be redirected to @{" MORE " link More}.
  1871.   - Can be iconified to an ApplicationIcon (see @{" FLAGS " link Flags}).
  1872.   - Erroroutput is done by DOS.
  1873.   - @{" DELETE DEVICE " Link Delete} formats a disk quick,
  1874.   - @{" DELETE FORCE " Link Delete} ignores delete-protection-bits.
  1875.   - @{" Filenamecompletion " Link Filenamecompletion} can show all matching files.
  1876.   - @{" MORE " Link More} supports "more keys" and checks windowsize.
  1877.   - @{" ALIAS " link Alias} can work without surrounding quotes; now you
  1878.     have to remove \ before " ,sorry for any incompatibilities.
  1879.   - CHECK is moved to @{" FLAGS " link Flags}, VEC is moved to @{" SHOW V " link Show}.
  1880.   - RESET removed: It was a hack ! RECOPY removed: Has anybody needed it ?
  1881.   - First line in @{" Command History " link History} is the last changed line.
  1882.   - You can use ^* instead of ^$9b with @{" ECHO " Link Echo} and @{" PROMPT " Link Prompt}.
  1883.   - Really faaaast searching in @{" MORE " Link More}, @{" SEARCH " Link Search} and @{" HELP " Link Help1}.
  1884.   - Bugfix and new options when @{" starting " link Starting} from CLI.
  1885.   - New Tooltypes for @{" starting " link Starting} from Workbench.
  1886.   - @{" HELP " link Help} only searches the current dir and S: for the manual.
  1887.   All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 10.02.95.
  1888.   Now there is not much of the original V1.3 release left, because most
  1889.   of the old parts are totally rewritten and size has more than doubled !
  1890. V2.4: Minor update, important bugfixes
  1891.   - Application-Window allows dropping Workbench-Icons into ZShell-Window; OS2.0+
  1892.   - @{" Check-Flag " Link Flags} checks writes to low memory
  1893.   - @{" SHOW task " Link Show} shows redirection/background
  1894.   - @{" DIE task " Link Die} removes task
  1895.   - @{" COPY " Link Copy} uses dots as progress indicator
  1896.   - If an error during starting occurs, there will be an @{" errormessage " Link ErrorStart}
  1897.   - Sets Wildstar-Flag in System, so you can use "*" instead of "#?"
  1898.     with all commands; OS2.0+
  1899.   - @{" Hide-Flag " Link Flags} added.
  1900.   - Lots of bugfixes
  1901.   All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 28.02.95.
  1902. V2.5:  Again minor update, but updated documentation
  1903.   - Localized most messages using the catalog of AmigaDOS, so no
  1904.     translating required (and I do not have to look for translators :-) ; OS2.1+
  1905.   - Pressing @{" CTRL-F " Link History} a filerequester pops up; OS2.0+
  1906.   - Possible to open own Public Screen on @{" starting " Link Starting}; OS2.0+
  1907.   - @{" EXECUTE " Link Execute} uses AmigaDOS Shell for executing scripts
  1908.     and therefore no longer causes compatibility problems. To execute
  1909.     ZShell-scripts: set S-protection flag and use it like a @{" command " Link Executing}.
  1910.   - Correct inserting of strings when pressing function-keys or dropping
  1911.     an Icon on Window/AppIcon
  1912.   - Removed C: as default @{" path " Link Path}. This was a stupid idea
  1913.     I got from the AmigaDOS Shell. It is better to have C: as first path.
  1914.   - You can use textfiles/Amigaguides with E-flag set like a @{" command " Link Executing}.
  1915.     It will then be displayed using @{" amigaguide.library " Link Guide.lib}. With OS3.0+
  1916.     this even works on everything supported by your datatypes (like pics)
  1917.   - Problems with foreign characters hopefully fixed
  1918.   - NEWCLI and RUN now copy stacksize, appiconname and windowname
  1919.   - Bugfixes: ASSIGN, DIR/LIST, DELETE DEVICE
  1920.   - ToolType ICONIFY fixed. It has NEVER worked !
  1921.   - @{" Starting ZShell " Link Starting} chapter improved
  1922.   - Probably added some brand new nasty bugs and left some ugly old bugs :)
  1923.   - And what is best: The versionnumber is changed ! @{" ;-) " Quit}
  1924.   All changes since V1.3 made by @{" Martin Gierich " Link Authors 9}. Released 11.04.95.
  1925.   Source: 217 KByte, Executable: 31 KByte, Guide: 104 KByte.
  1926. @ENDNODE
  1927. @NODE Tips "Tips and Hints"
  1928. * Use @{" MORE " Link MORE} instead of @{" TYPE " Link TYPE}.
  1929. * Useful @{" aliases " Link alias}:
  1930.         alias arexx %1 %2 putmsg $1 0 0 0 0 0 "$2"
  1931.   So 'arexx showdvi "tofront"' is the same as the example in @{" PUTMSG " Link PUTMSG}.
  1932.   If you want some shortcuts like MessyDOS:
  1933.         alias md makedir
  1934.         alias ren rename
  1935.         alias del delete
  1936.         alias dc diskchange
  1937.   These are only needed for OS1.3-:
  1938.         alias setenv %1 %2 echo >ENV:$1 $2
  1939.         alias getenv %1 type ENV:$1
  1940.         alias unsetenv %1 delete ENV:$1
  1941. * A script counting down from 10 to 0 (a bit complicated and slow) :
  1942.     failat 11 ; setenv helpenv 11
  1943.     lab backtohere
  1944.     copy >NIL: ENV:helpenv ENV:counter
  1945.     eval >ENV:helpenv |ENV:counter 1 -
  1946.     echo "Current number: " ; eval |ENV:helpenv
  1947.     if not error
  1948.        skip backtohere
  1949.     endif
  1950. * From Workbench assigns are most likely done by clicking an icon:
  1951.   For example if you have the assigns below in the script
  1952.         failat 10
  1953.         assign TEX: dh0:text/pastex
  1954.         assign MF: dh0:text/pastex/metafont
  1955.         putmsg
  1956.   you need to get a PROJECT ICON for that. Now define the default
  1957.   tool as ZSH (or ZShell) and a tooltype containing
  1958.         WINDOW=
  1959.   (case sensitive). That's all. Failat 10 breaks the script if
  1960.   an error occurs. Putmsg flashes the screen to indicate that
  1961.   everything was successful. No window will be opened.
  1962. @ENDNODE
  1963. @NODE Future "Possibilities for Future Improvements"
  1964. Does somebody want to help @{" me " Link Authors 9} to make this chaotic documentation
  1965. more readable ?
  1966. Planned for next version:
  1967. * Real UNICS-like Pipes using background-tasks
  1968. * Improve RUN command
  1969. Other ideas/suggestions:
  1970. * Full XPK-support
  1971. * Scrollbar for review-buffer (this will be difficult)
  1972. * Add more commands to the directory-lister (like makeicon,search)
  1973. * Make DIE a real killer (windows, screens)
  1974. * COPY asks to remove incomplete destination files.
  1975. * MAKEDIR can create nested dirs: If RAM: is empty "makedir ram:a/b/c"
  1976.   would create directory c in b in a in RAM: .
  1977. * RENAME command with wildcard support: "rename *.asm *.s" would rename
  1978.   all files ending in .asm to the same name ending in .s !
  1979. * SPLIT command as opposite to JOIN.
  1980. * Easier configuring
  1981. * Make it a commodity with hotkey.
  1982. * Improve script file execution, like passing arguments,
  1983.   allow subroutine scripts and commands like FOR.
  1984. * More flexible environment variable handling.
  1985. * More options for the LIST command.
  1986. * Include MOUNT/INSTALL command.
  1987. * HEX option for MORE.
  1988. * Faster scrolling (jump scroll/1 bitplane scroll)
  1989. * Patch for 68000-Processors to be as fast as 68060/50MHz-Processors ;-)
  1990. * Write a stripped-down version for MessyDOS; after starting this would say:
  1991.   This is ZShell V2.x *** Fatal error: no multitasking system !  ;-)
  1992. If you want to see these or other improvements made, please write to @{" me " Link Authors 9}.
  1993. If you do not, please write to me, too :-)
  1994. Note that there is a 32K limit of the executable, because I only use
  1995. relative addressing (like in small code model).
  1996. I thought about making a separate version for OS2.0+:
  1997. Command-line-editing and review stuff could be done best (most powerful)
  1998. within a console-handler; there are already several available (as I know,
  1999. the only one that is Freeware is KingCon), so I do not want to write 
  2000. another one. The disadvantages of these I have seen is that you need to
  2001. change alot between mouse and keyboard and they are somehow slow on my
  2002. system (and do not work on OS1.3- systems) and memory-hungry.
  2003. Except for Command-line-editing and review, the inbuild commands are a
  2004. main advantage of ZShell. These commands could be moved to one executable
  2005. file; if this file was executed, it would create all inbuild commands
  2006. as resident commands that could be used by the normal Shell.
  2007. (This would be somehow like the MessyDOS COMMAND.COM file.)
  2008. So if you used this file and a separate console-handler, you could work
  2009. comfortably with the normal Shell.
  2010. If there are enough people asking for that, I will think about writing
  2011. such a "multi-command-file", but I will not write another console-handler.
  2012. And I have a really great idea what else to write: A video-backup-system
  2013. for storing all your files of your hard/floppy disks on an ordinary cheap
  2014. video-tape with a small, self-built hardware-interface. Yes, I know, that
  2015. already exits, but I have never heard about one that multitasks without
  2016. problems while backing up :-) . My first attempts to create this have
  2017. failed and are now one year ago :-(
  2018. And, last but not least, I have to invest lots of time in my studies and
  2019. I do not want to hang around all remaining time at the keyboard !
  2020. As long as Commodore is not sold and the future of the Amiga is not sure
  2021. I do not feel like starting any new project for it :-( .
  2022. @ENDNODE
  2023. @NODE CopyDis "Copyright & Disclaimer"
  2024. Some boring but neccessary things:
  2025. @{" Distribution " Link Distribution}
  2026. @{" Copyright " Link Copyright}
  2027. @{" Disclaimer " Link Disclaimer}
  2028. @ENDNODE
  2029. @NODE Distribution "Distribution"
  2030. Following files belong to this document:
  2031.  1) ZShell           The main executable
  2032.  2) ZSH              The small starter
  2033.  3) ZShell.doc       The documentation (and online help manual)
  2034.  4) ZShell.guide     The AmigaGuide documentation
  2035.  5) ReadMe           Short description
  2036.  6) ZStart           An example startup script (can be put in S: )
  2037.  7) ZShell.s         Source code of the main executable
  2038.  8) ZSH.s            Source code of the small starter
  2039.  9) Csh-Aliases      Some aliases to make it a bit similar to UNICS csh
  2040.  and some icons.
  2041. @ENDNODE
  2042. @NODE Copyright "Copyright"
  2043. Summary: ZShell is Freeware !
  2044. COPYRIGHT FOR THE V1.3 PART (by Paul Hayter)
  2045. ZSHELL IS FREELY DISTRIBUTABLE. YOU CAN DISTRIBUTE THIS AS LONG AS
  2046. THIS DOC FILE REMAINS WITH THE EXECUTABLE, AND THAT NO CHARGE IS MADE FOR
  2047. THEM (APART FROM A NOMINAL COPYING CHARGE). IF YOU FEEL LIKE SENDING
  2048. ME SOMETHING FOR THIS PROGRAM, SEND ME A POSTCARD!, A P.D. DISK, A
  2049. PROGRAM YOU'VE BEEN WORKING ON ,BUT DON'T SEND ME ANY MONEY (WELL, IF
  2050. YOU REALLY, REALLY WANT TO, I GUESS I COULD PUT UP WITH IT).
  2051. COPYRIGHT FOR THE V2.x PART (by Martin Gierich)
  2052. This may be confusing, that there are two copyrights, but I did
  2053. not like to change the original copyright notice. The parts belonging
  2054. to V2.x are marked in the source code with 'V2.x'.
  2055. ZSHELL IS FREELY DISTRIBUTABLE. YOU CAN DISTRIBUTE THIS AS LONG AS
  2056. THE TWO EXECUTABLES REMAIN WITH THIS DOCUMENTATION TOGETHER (AND PLEASE
  2057. DISTRIBUTE THE SOURCE FILES WITH THEM TOO), AND THAT NO CHARGE IS MADE
  2058. FOR THEM (APART FROM A NOMINAL COPYING CHARGE).
  2059. IT IS NOT ALLOWED TO USE ZSHELL COMMERCIALLY !
  2060. @{" I " Link Authors 9} would like to get your comment on ZShell to see if anybody is using it
  2061. and what can be improved.
  2062. @ENDNODE
  2063. @NODE Disclaimer "Disclaimer"
  2064. DISCLAIMER
  2065. USE THE FILES OF THIS PACKAGE ON YOUR OWN RISK !
  2066. The authors are in no way responsible for what you are doing with it
  2067. or what it does to you or your soft- and hardware.
  2068. Amiga, AmigaDOS, AmigaGuide, Workbench and Kickstart are (or better: were ? :)
  2069. registered trademarks of Commodore-Amiga Inc. (Commodore, who is this ? :)
  2070. MessyDOS and UNICS are not really trademarks (as I know)  :-)
  2071. @ENDNODE
  2072. @NODE Credits "Credits"
  2073. CREDITS FROM PAUL
  2074. Many thanks to Wayne for his invaluable help in doing the history
  2075. and command line editing parts of ZShell. Also, thanks to
  2076. Tim Strachan who asked for the history stuff.
  2077. ZShell was entirely written using Wayned by Wayne Hayter (various
  2078. versions). And was assembled with A68K V2.61 by Charlie Gibbs. And
  2079. linked with Blink V6.7 by the Software Distillery.
  2080. CREDITS FROM MARTIN
  2081. Many thanks for mail go to:
  2082. (V2.0)
  2083. * Laura Mahoney, especially for trying to send me a postcard, lots
  2084.   of mail and some betatesting
  2085. * Igor Srdanovic
  2086. * Willem MC Hogeweg
  2087. (V2.1)
  2088. * Nico Max
  2089. * Max Stouugard, especially for your great description of a crash :-)
  2090. * Alexandros Loghis, especially for some good ideas
  2091. (V2.2)
  2092. * Christian Steigies, especially for sending me a postcard, for really
  2093.   long mails and betatesting
  2094. * Oliver Hofmann, especially for some betatesting under EGS
  2095. * Holger Jakob, especially for betatesting under KingCON
  2096. * Hans Kruse
  2097. (V2.3)
  2098. * Nobody !
  2099. (V2.4)
  2100. * Aristotelis Grammatikakis
  2101. * Jonathan Marsh
  2102. * Dominique Niethammer
  2103. * Teonanacatl
  2104. * Fredrik Solenberg
  2105. * Ccobb (sorry, I do not have your real name here)
  2106. Thanks to the administrators of Aminet and Funet for their great work.
  2107. Thanks to Frank for using ZShell :-)
  2108. @ENDNODE
  2109. @NODE Authors "Authors"
  2110. Please send any correspondence and/or bug reports referring V1.3
  2111. to me at the address below:-
  2112.       Paul Hayter
  2113.       PO Box 331
  2114.       Ballina
  2115.       2478
  2116.       AUSTRALIA
  2117. Please send correspondence, bug reports, comments, suggestions
  2118. for future improvements etc. referring V2.x to this adress:
  2119.       Martin Gierich
  2120.       Narzissenweg 7
  2121.       76297 Stutensee
  2122.       GERMANY
  2123.   (I would really like to get a picture postcard from you, even if
  2124.   you just wrote a "Hello" on it !)
  2125.   If you have EMAIL access, it would be nice if you send me one
  2126.   at one of these adresses:
  2127.            uj3w@rz.uni-karlsruhe.de           (Internet)
  2128.    or to   uj3w@ibm3090.rz.uni-karlsruhe.de   (Internet)
  2129.    or to   UJ3W@DKAUNI2.BITNET                (Bitnet)
  2130.   I will try to reply EVERY EMail I get !
  2131.   Please tell me your system-configuration, at least your Kickstart-
  2132.   Version, so that I see which kind of systems should be most supported
  2133.   in future versions. My system is an A500 with 200 MB Harddisk, 3 MB RAM,
  2134.   Kickstart 2.04 and Workbench 2.1 and a VGA-Monitor with Fickerfixer.
  2135.   Note that large parts of ZShell were developped under Kickstart 1.3 !
  2136.   (Ah yes, and I have such a Vortex ATONCE AT-Emulator; the fastest thing
  2137.   it can do is to hang itself up, and they do not make any updates !)
  2138.       /\/\            o o
  2139.      / __ \ artin      <
  2140.     (_/  \_)         `---'
  2141. @ENDNODE
  2142.